Add Help
menu item.
This commit is contained in:
@ -389,6 +389,10 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
|
||||
NSWorkspace.shared.open(URL(string: "https://github.com/shadowsocks/ShadowsocksX-NG/releases")!)
|
||||
}
|
||||
|
||||
@IBAction func showHelp(_ sender: NSMenuItem) {
|
||||
NSWorkspace.shared.open(URL(string: "https://github.com/shadowsocks/ShadowsocksX-NG/wiki")!)
|
||||
}
|
||||
|
||||
@IBAction func showAbout(_ sender: NSMenuItem) {
|
||||
NSApp.orderFrontStandardAboutPanel(sender);
|
||||
NSApp.activate(ignoringOtherApps: true)
|
||||
|
Reference in New Issue
Block a user