Skip to content

Commit 7864a2d

Browse files
committed
优化menu
1 parent aa95f2a commit 7864a2d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

V2rayU/App/AppMenu.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,8 +674,10 @@ final class AppMenuManager: NSObject, NSMenuDelegate {
674674
}
675675

676676
@objc private func goHelp(_ sender: NSMenuItem) {
677-
AppState.shared.mainTab = .about
678-
MainWindowManager.shared.openMainWindow()
677+
guard let url = URL(string: "https://github.com/yanue/v2rayu/issues") else {
678+
return
679+
}
680+
NSWorkspace.shared.open(url)
679681
}
680682

681683
@objc private func switchRunMode(_ sender: NSMenuItem) {

0 commit comments

Comments
 (0)