mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-11-03 16:43:31 +00:00
@@ -508,7 +508,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
|
|||||||
serverMenuText = p.serverHost
|
serverMenuText = p.serverHost
|
||||||
}
|
}
|
||||||
if let latency = p.latency{
|
if let latency = p.latency{
|
||||||
serverMenuText += " - \(latency)ms"
|
serverMenuText += " - \(latency) ms"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -615,6 +615,9 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
|
|||||||
let item = NSMenuItem()
|
let item = NSMenuItem()
|
||||||
item.tag = i //+ kProfileMenuItemIndexBase
|
item.tag = i //+ kProfileMenuItemIndexBase
|
||||||
item.title = p.title()
|
item.title = p.title()
|
||||||
|
if let latency = p.latency{
|
||||||
|
item.title += " - \(latency) ms"
|
||||||
|
}
|
||||||
if mgr.activeProfileId == p.uuid {
|
if mgr.activeProfileId == p.uuid {
|
||||||
item.state = 1
|
item.state = 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>2</string>
|
<string>3</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>
|
||||||
|
|||||||
Reference in New Issue
Block a user