

You can find a list of network service names by running networksetup -listnetworkserviceorder in Terminal. Locate start.sh and stop.sh, and swap out all occurrences of "Wi-Fi" with whatever you use. The shell scripts are located in the same directory as the trojan binary, which is one level about the configuration folder. If you do not use Wi-Fi, you'll need to change the shell scripts to reflect that, or otherwise TrojanX will not be able to set up proxy for you. TrojanX uses shell scripts to set up the system to use SOCKS proxy.
#Zip client for mac update#
In order to update the trojan binary, download the latest version from the trojan GitHub page for your platform and replace the bundled binary located one level above the configuration folder (the Resources folder inside the app). Click Start Trojan or use shortcut control + shift + T to start Trojan.Relaunch the app, and you should now see your newly added configuration selected in the drop down menu from the status bar icon.If you are not using Wi-Fi as your primary network interface name, perform the steps in the guide here, otherwise skip this step.Side note: all file paths are relative to the configuration folder.Use a descriptive name like "Tokyo Server.json". For the app to recognize a file as a piece of configuration to pipe into trojan, make sure they end in. Put your configuration files, certificates, etc.Click on the menu bar icon, and select "About." from the dropdown menu.Open the app a menu bar icon depicting a horse head should appear.If you are seeing a message saying the app is corrupted, see #1.Download a precompiled version of the app from the release tab and drag it to your Applications folder.TrojanX is a bare-bones, minimal GUI client on Mac for Trojan, written in Swift and shell.
