mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-11-21 12:59:23 +00:00
Merge branch 'develop' of https://github.com/shadowsocks/ShadowsocksX-NG into develop
This commit is contained in:
@@ -100,7 +100,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
|
||||
"LocalSocks5.Timeout": NSNumber(value: 60 as UInt),
|
||||
"LocalSocks5.EnableUDPRelay": NSNumber(value: false as Bool),
|
||||
"LocalSocks5.EnableVerboseMode": NSNumber(value: false as Bool),
|
||||
"GFWListURL": "https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt",
|
||||
"GFWListURL": "https://cdn.jsdelivr.net/gh/gfwlist/gfwlist/gfwlist.txt",
|
||||
"AutoConfigureNetworkServices": NSNumber(value: true as Bool),
|
||||
"LocalHTTP.ListenAddress": "127.0.0.1",
|
||||
"LocalHTTP.ListenPort": NSNumber(value: 1087 as UInt16),
|
||||
|
||||
@@ -51,7 +51,7 @@ func generateSSLocalLauchAgentPlist() -> Bool {
|
||||
let enableUdpRelay = defaults.bool(forKey: "LocalSocks5.EnableUDPRelay")
|
||||
let enableVerboseMode = defaults.bool(forKey: "LocalSocks5.EnableVerboseMode")
|
||||
|
||||
var arguments = [sslocalPath, "-c", "ss-local-config.json", "--fast-open"]
|
||||
var arguments = [sslocalPath, "-c", "ss-local-config.json"]
|
||||
if enableUdpRelay {
|
||||
arguments.append("-u")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user