mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
fix: showAboutPanel also on linux (#37828)
showAboutPanel also on linux
This commit is contained in:
@@ -26,7 +26,7 @@ export const roleList: Record<RoleId, Role> = {
|
||||
get label () {
|
||||
return isLinux ? 'About' : `About ${app.name}`;
|
||||
},
|
||||
...(isWindows && { appMethod: () => app.showAboutPanel() })
|
||||
...((isWindows || isLinux) && { appMethod: () => app.showAboutPanel() })
|
||||
},
|
||||
close: {
|
||||
label: isMac ? 'Close Window' : 'Close',
|
||||
|
||||
Reference in New Issue
Block a user