mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-10-21 06:54:41 +00:00
fix connect at launch not work as expected
This commit is contained in:
@@ -202,6 +202,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
|
||||
// SyncSSLocal()
|
||||
|
||||
if defaults.bool(forKey: "ConnectAtLaunch") && ServerProfileManager.instance.getActiveProfileId() != "" {
|
||||
defaults.set(false, forKey: "ShadowsocksOn")
|
||||
toggleRunning(toggleRunningMenuItem)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user