Added global Keyboard shortcut
So we could switch between different proxy modes with global shortcut.
This commit is contained in:
@ -51,7 +51,7 @@ class ServerProfileManager: NSObject {
|
||||
|
||||
if activeProfileId != nil {
|
||||
defaults.set(activeProfileId, forKey: "ActiveServerProfileId")
|
||||
writeSSLocalConfFile((getActiveProfile()?.toJsonConfig())!)
|
||||
_ = writeSSLocalConfFile((getActiveProfile()?.toJsonConfig())!)
|
||||
} else {
|
||||
defaults.removeObject(forKey: "ActiveServerProfileId")
|
||||
removeSSLocalConfFile()
|
||||
|
Reference in New Issue
Block a user