Skip to content

Commit c5f1fc7

Browse files
authored
Merge pull request #32 from xuxiaokang/develop
Modify new version update check url and acl files' url
2 parents 539cba7 + 509b996 commit c5f1fc7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ShadowsocksX-NG/AppDelegate.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
8585
"LocalSocks5.EnableUDPRelay": NSNumber(value: false as Bool),
8686
"LocalSocks5.EnableVerboseMode": NSNumber(value: false as Bool),
8787
"GFWListURL": "https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt",
88-
"ACLWhiteListURL": "https://raw.githubusercontent.com/shadowsocksr/shadowsocksr-libev/master/acl/chn.acl",
89-
"ACLAutoListURL": "https://raw.githubusercontent.com/shadowsocksr/shadowsocksr-libev/master/acl/gfwlist.acl",
90-
"ACLProxyBackCHNURL":"https://raw.githubusercontent.com/shadowsocksr/ShadowsocksX-NG/develop/ShadowsocksX-NG/backchn.acl",
88+
"ACLWhiteListURL": "https://raw.githubusercontent.com/shadowsocks/shadowsocks-libev/master/acl/chn.acl",
89+
"ACLAutoListURL": "https://raw.githubusercontent.com/shadowsocks/shadowsocks-libev/master/acl/gfwlist.acl",
90+
"ACLProxyBackCHNURL":"https://raw.githubusercontent.com/shadowsocks/shadowsocks-libev/master/ShadowsocksX-NG/server_block_chn.acl",
9191
"AutoConfigureNetworkServices": NSNumber(value: true as Bool),
9292
"LocalHTTP.ListenAddress": "127.0.0.1",
9393
"LocalHTTP.ListenPort": NSNumber(value: 1087 as UInt16),
@@ -759,7 +759,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
759759
let alertResult = versionChecker.showAlertView(Title: newVersion["Title"] as! String, SubTitle: newVersion["SubTitle"] as! String, ConfirmBtn: newVersion["ConfirmBtn"] as! String, CancelBtn: newVersion["CancelBtn"] as! String)
760760
print(alertResult)
761761
if (newVersion["newVersion"] as! Bool && alertResult == 1000){
762-
NSWorkspace.shared().open(URL(string: "https://github.com/shadowsocksr/ShadowsocksX-NG/releases")!)
762+
NSWorkspace.shared().open(URL(string: "https://github.com/qinyuhang/ShadowsocksX-NG-R/releases")!)
763763
}
764764
}
765765
}

ShadowsocksX-NG/VersionChecker.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import Foundation
1010

11-
let _VERSION_XML_URL = "https://raw.githubusercontent.com/shadowsocksr/ShadowsocksX-NG/develop/ShadowsocksX-NG/Info.plist"
11+
let _VERSION_XML_URL = "https://raw.githubusercontent.com/qinyuhang/ShadowsocksX-NG-R/develop/ShadowsocksX-NG/Info.plist"
1212
let _VERSION_XML_LOCAL:String = Bundle.main.bundlePath + "/Contents/Info.plist"
1313

1414
class VersionChecker: NSObject {

0 commit comments

Comments
 (0)