mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: trigger about panel for about role on on win (#23687)
This commit is contained in:
@@ -10,7 +10,8 @@ const roles = {
|
||||
about: {
|
||||
get label () {
|
||||
return isLinux ? 'About' : `About ${app.name}`;
|
||||
}
|
||||
},
|
||||
...(isWindows && { appMethod: 'showAboutPanel' })
|
||||
},
|
||||
close: {
|
||||
label: isMac ? 'Close Window' : 'Close',
|
||||
|
||||
Reference in New Issue
Block a user