Add feedback menuitem

This commit is contained in:
Charlie Qiu
2016-06-11 18:02:57 +08:00
parent a6a7b53f64
commit 5077e880a8
3 changed files with 17 additions and 0 deletions

View File

@ -268,6 +268,10 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
}
}
@IBAction func feedback(sender: NSMenuItem) {
NSWorkspace.sharedWorkspace().openURL(NSURL(string: "https://github.com/qiuyuzhou/ShadowsocksX-NG/issues")!)
}
func updateLaunchAtLoginMenu() {
if launchAtLoginController.launchAtLogin {
lanchAtLoginMenuItem.state = 1