mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-11-05 21:45:06 +00:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
682fc346f8 | ||
|
|
8e09347fac | ||
|
|
e94ba06959 | ||
|
|
25d2dfdd4a | ||
|
|
294c2a94e1 | ||
|
|
8162d7346b |
@@ -17,7 +17,7 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>1.4.1-R8</string>
|
<string>1.4.3-R8</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleURLTypes</key>
|
<key>CFBundleURLTypes</key>
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>4</string>
|
<string>1</string>
|
||||||
<key>LSApplicationCategoryType</key>
|
<key>LSApplicationCategoryType</key>
|
||||||
<string>public.app-category.utilities</string>
|
<string>public.app-category.utilities</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
let SS_LOCAL_VERSION = "2.5.6.9.static"
|
let SS_LOCAL_VERSION = "2.5.6.12.static"
|
||||||
let PRIVOXY_VERSION = "3.0.26.static"
|
let PRIVOXY_VERSION = "3.0.26.static"
|
||||||
let APP_SUPPORT_DIR = "/Library/Application Support/ShadowsocksX-NG/"
|
let APP_SUPPORT_DIR = "/Library/Application Support/ShadowsocksX-NG/"
|
||||||
let LAUNCH_AGENT_DIR = "/Library/LaunchAgents/"
|
let LAUNCH_AGENT_DIR = "/Library/LaunchAgents/"
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ class PreferencesWindowController: NSWindowController
|
|||||||
"auth_aes128_sha1",
|
"auth_aes128_sha1",
|
||||||
"auth_aes128_md5",
|
"auth_aes128_md5",
|
||||||
"auth_chain_a",
|
"auth_chain_a",
|
||||||
|
"auth_chain_b",
|
||||||
])
|
])
|
||||||
ObfsTextField.addItems(withObjectValues: [
|
ObfsTextField.addItems(withObjectValues: [
|
||||||
"plain",
|
"plain",
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ class ServerProfileManager: NSObject {
|
|||||||
|
|
||||||
func isExisted(profile: ServerProfile) -> (Bool, Int){
|
func isExisted(profile: ServerProfile) -> (Bool, Int){
|
||||||
for (index, value) in profiles.enumerated() {
|
for (index, value) in profiles.enumerated() {
|
||||||
let ret = value.serverHost == profile.serverHost
|
let ret = (value.serverHost == profile.serverHost && value.serverPort == profile.serverPort)
|
||||||
if ret {
|
if ret {
|
||||||
return (ret, index)
|
return (ret, index)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
|
|
||||||
cd `dirname "${BASH_SOURCE[0]}"`
|
cd `dirname "${BASH_SOURCE[0]}"`
|
||||||
ssLocalVersion=2.5.6.9.static
|
ssLocalVersion=2.5.6.12.static
|
||||||
mkdir -p "$HOME/Library/Application Support/ShadowsocksX-NG/ss-local-$ssLocalVersion"
|
mkdir -p "$HOME/Library/Application Support/ShadowsocksX-NG/ss-local-$ssLocalVersion"
|
||||||
cp -f ss-local "$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"
|
rm -f "$HOME/Library/Application Support/ShadowsocksX-NG/ss-local"
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user