mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-10-20 14:34:30 +00:00
Set Auto check update for false
Now must manually check update
This commit is contained in:
@@ -84,7 +84,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
|
||||
"LocalHTTP.ListenAddress": "127.0.0.1",
|
||||
"LocalHTTP.ListenPort": NSNumber(value: 1087 as UInt16),
|
||||
"LocalHTTPOn": true,
|
||||
"LocalHTTP.FollowGlobal": true
|
||||
"LocalHTTP.FollowGlobal": true,
|
||||
"AutoCheckUpdate": false
|
||||
])
|
||||
|
||||
setUpMenu(defaults.bool(forKey: "enable_showSpeed"))
|
||||
@@ -193,7 +194,9 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
|
||||
toggleRunning(toggleRunningMenuItem)
|
||||
}
|
||||
// Version Check!
|
||||
checkForUpdate(mustShowAlert: false)
|
||||
if defaults.bool(forKey: "AutoCheckUpdate"){
|
||||
checkForUpdate(mustShowAlert: false)
|
||||
}
|
||||
}
|
||||
|
||||
func applicationWillTerminate(_ aNotification: Notification) {
|
||||
|
||||
Reference in New Issue
Block a user