From 682fc346f877a8b5b05b8b9b628d4223b9a5d846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E5=AE=87=E8=88=AA?= Date: Fri, 18 Aug 2017 18:39:36 +0800 Subject: [PATCH] Compile with macOS 10.11 To avoid install ss-local failed --- ShadowsocksX-NG/Info.plist | 2 +- ShadowsocksX-NG/LaunchAgentUtils.swift | 2 +- ShadowsocksX-NG/install_ss_local.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ShadowsocksX-NG/Info.plist b/ShadowsocksX-NG/Info.plist index 92c8b54c..baa5bc09 100644 --- a/ShadowsocksX-NG/Info.plist +++ b/ShadowsocksX-NG/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.4.2-R8 + 1.4.3-R8 CFBundleSignature ???? CFBundleURLTypes diff --git a/ShadowsocksX-NG/LaunchAgentUtils.swift b/ShadowsocksX-NG/LaunchAgentUtils.swift index 9526d4c2..5f1bfb65 100644 --- a/ShadowsocksX-NG/LaunchAgentUtils.swift +++ b/ShadowsocksX-NG/LaunchAgentUtils.swift @@ -8,7 +8,7 @@ import Foundation -let SS_LOCAL_VERSION = "2.5.6.11.static" +let SS_LOCAL_VERSION = "2.5.6.12.static" let PRIVOXY_VERSION = "3.0.26.static" let APP_SUPPORT_DIR = "/Library/Application Support/ShadowsocksX-NG/" let LAUNCH_AGENT_DIR = "/Library/LaunchAgents/" diff --git a/ShadowsocksX-NG/install_ss_local.sh b/ShadowsocksX-NG/install_ss_local.sh index d8ca3f32..888387fa 100755 --- a/ShadowsocksX-NG/install_ss_local.sh +++ b/ShadowsocksX-NG/install_ss_local.sh @@ -8,7 +8,7 @@ cd `dirname "${BASH_SOURCE[0]}"` -ssLocalVersion=2.5.6.11.static +ssLocalVersion=2.5.6.12.static mkdir -p "$HOME/Library/Application Support/ShadowsocksX-NG/ss-local-$ssLocalVersion" cp -f ss-local "$HOME/Library/Application Support/ShadowsocksX-NG/ss-local-$ssLocalVersion/" rm -f "$HOME/Library/Application Support/ShadowsocksX-NG/ss-local"