From 235faa8e586ed60ab4985aa6a3210f349a47d2a1 Mon Sep 17 00:00:00 2001 From: Charlie Qiu Date: Sat, 11 Jun 2016 17:14:06 +0800 Subject: [PATCH] Only config ota through config file. --- ShadowsocksX-NG/LaunchAgentUtils.swift | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ShadowsocksX-NG/LaunchAgentUtils.swift b/ShadowsocksX-NG/LaunchAgentUtils.swift index 006d844..6436328 100644 --- a/ShadowsocksX-NG/LaunchAgentUtils.swift +++ b/ShadowsocksX-NG/LaunchAgentUtils.swift @@ -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",