mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: showAboutPanel also on linux (#37874)
showAboutPanel also on linux Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Mikael Finstad <finstaden@gmail.com>
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