Add feedback menuitem
This commit is contained in:
@ -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
|
||||
|
@ -111,6 +111,13 @@
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="DTJ-NF-Wxr"/>
|
||||
<menuItem title="Feedback" id="W7u-7g-Gv4">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="feedback:" target="Voe-Tx-rLC" id="ogn-lf-bqE"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="lSf-ni-kjo"/>
|
||||
<menuItem title="Quit" keyEquivalent="q" id="vJS-JW-byz">
|
||||
<connections>
|
||||
<action selector="terminate:" target="-2" id="Mrp-4z-omR"/>
|
||||
|
@ -23,6 +23,9 @@
|
||||
/* Class = "NSMenuItem"; title = "Update PAC from GFW List"; ObjectID = "TFc-Ec-duM"; */
|
||||
"TFc-Ec-duM.title" = "从 GFW List 更新PAC";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Feedback"; ObjectID = "W7u-7g-Gv4"; */
|
||||
"W7u-7g-Gv4.title" = "反馈";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Advance Preference ..."; ObjectID = "bZ3-fy-34d"; */
|
||||
"bZ3-fy-34d.title" = "高级设置...";
|
||||
|
||||
@ -35,6 +38,9 @@
|
||||
/* Class = "NSMenuItem"; title = "Auto Mode By PAC"; ObjectID = "hOa-5N-3ik"; */
|
||||
"hOa-5N-3ik.title" = "PAC自动模式";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Edit User Rules For PAC..."; ObjectID = "rms-p0-CvB"; */
|
||||
"rms-p0-CvB.title" = "编辑PAC用户自定规则...";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Servers"; ObjectID = "u5M-hQ-VSc"; */
|
||||
"u5M-hQ-VSc.title" = "服务器";
|
||||
|
||||
|
Reference in New Issue
Block a user