From 22fea21633826a77d035afa067ce83c45c7c3f28 Mon Sep 17 00:00:00 2001 From: qinyuhang Date: Wed, 11 Jan 2017 16:20:28 +0800 Subject: [PATCH] bump version bump version new release remove unuse code --- ShadowsocksX-NG/AppDelegate.swift | 17 ----------------- ShadowsocksX-NG/Info.plist | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/ShadowsocksX-NG/AppDelegate.swift b/ShadowsocksX-NG/AppDelegate.swift index e38ae26..2af7a3f 100644 --- a/ShadowsocksX-NG/AppDelegate.swift +++ b/ShadowsocksX-NG/AppDelegate.swift @@ -494,7 +494,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele func updateRunningModeMenu() { let defaults = UserDefaults.standard let mode = defaults.string(forKey: "ShadowsocksRunningMode") -//<<<<<<< HEAD var serverMenuText = "Servers".localized let mgr = ServerProfileManager.instance @@ -508,20 +507,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele if let latency = p.latency{ serverMenuText += " - \(latency)ms" } -//======= -// -// var serverMenuText = "Servers".localized -// for v in defaults.array(forKey: "ServerProfiles")! { -// let profile = v as! [String:Any] -// if profile["Id"] as! String == defaults.string(forKey: "ActiveServerProfileId")! { -// var profileName :String -// if profile["Remark"] as! String != "" { -// profileName = profile["Remark"] as! String -// } else { -// profileName = profile["ServerHost"] as! String -//>>>>>>> shadowsocks/develop -// } -// serverMenuText = "\(serverMenuText) - \(profileName)" } } @@ -664,7 +649,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele let groupSubmenu = NSMenu() let groupSubmenuItem = NSMenuItem() groupSubmenuItem.title = p.ssrGroup -//if i == 2 {// to delete serversMenuItem.submenu?.addItem(groupSubmenuItem) serversMenuItem.submenu?.setSubmenu(groupSubmenu, for: groupSubmenuItem) if mgr.activeProfileId == p.uuid { @@ -674,7 +658,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele groupSubmenuItem.submenu?.addItem(item) i += 1 continue -//}// to delete } else{ if mgr.activeProfileId == p.uuid { diff --git a/ShadowsocksX-NG/Info.plist b/ShadowsocksX-NG/Info.plist index 1db9b24..7cd2be7 100644 --- a/ShadowsocksX-NG/Info.plist +++ b/ShadowsocksX-NG/Info.plist @@ -48,7 +48,7 @@ CFBundleVersion - 3 + 4 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion