Only config ota through config file.
This commit is contained in:
@ -37,12 +37,6 @@ func generateSSLocalLauchAgentPlist() -> Bool {
|
|||||||
arguments.append("-u")
|
arguments.append("-u")
|
||||||
}
|
}
|
||||||
|
|
||||||
if let profile = ServerProfileManager().getActiveProfile() {
|
|
||||||
if profile.ota {
|
|
||||||
arguments.append("-A")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// For a complete listing of the keys, see the launchd.plist manual page.
|
// For a complete listing of the keys, see the launchd.plist manual page.
|
||||||
let dict: NSMutableDictionary = [
|
let dict: NSMutableDictionary = [
|
||||||
"Label": "com.qiuyuzhou.shadowsocksX-NE.local",
|
"Label": "com.qiuyuzhou.shadowsocksX-NE.local",
|
||||||
|
Reference in New Issue
Block a user