Browse Source

Merge branch 'develop' of https://github.com/shadowsocks/ShadowsocksX-NG into develop

Qiu Yuzhou 3 years ago
parent
commit
0e0e5126d1
2 changed files with 2 additions and 2 deletions
  1. 1 1
      ShadowsocksX-NG/AppDelegate.swift
  2. 1 1
      ShadowsocksX-NG/LaunchAgentUtils.swift

+ 1 - 1
ShadowsocksX-NG/AppDelegate.swift

@@ -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),

+ 1 - 1
ShadowsocksX-NG/LaunchAgentUtils.swift

@@ -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")
     }