Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix connect at launch not work as expected
  • Loading branch information
qinyuhang committed Jul 24, 2017
1 parent 5ce8e61 commit eb3815d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ShadowsocksX-NG/AppDelegate.swift
Expand Up @@ -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)
}

Expand Down

0 comments on commit eb3815d

Please sign in to comment.