Only config ota through config file.

This commit is contained in:
Charlie Qiu
2016-06-11 17:14:06 +08:00
parent 3b21ad5800
commit 235faa8e58

View File

@ -37,12 +37,6 @@ func generateSSLocalLauchAgentPlist() -> Bool {
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.
let dict: NSMutableDictionary = [
"Label": "com.qiuyuzhou.shadowsocksX-NE.local",