JimLee1996 / TrojanX

Trojan Client for macOS, ported from ShadowsocksX-NG. Please use it in compliance with laws, regulations and rules.
GNU General Public License v3.0
599 stars 106 forks source link

support trojan url #2

Closed timelessg closed 4 years ago

timelessg commented 4 years ago

support trojan url

timelessg commented 4 years ago

just add support for trojan url like this https://github.com/trojan-gfw/trojan-url

JimLee1996 commented 4 years ago

Thanks a lot.

Have you tried to build it and test this function on your mac?

timelessg commented 4 years ago

yep,but i found a old bug that sometime when i change server (input manually or import from pasteboard) and do SyncSSLocal(), this dont work anymore. i must restart trojan manually

timelessg commented 4 years ago

i try to set the interval of StopSSLocal() and StartSSLocal().it's work for me

JimLee1996 commented 4 years ago

LGTM! Really appreciate for your works.