fix: showAboutPanel also on linux (#37828)
showAboutPanel also on linux
This commit is contained in:
parent
83e186fdbc
commit
e8c87859c4
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ export const roleList: Record<RoleId, Role> = {
|
||||||
get label () {
|
get label () {
|
||||||
return isLinux ? 'About' : `About ${app.name}`;
|
return isLinux ? 'About' : `About ${app.name}`;
|
||||||
},
|
},
|
||||||
...(isWindows && { appMethod: () => app.showAboutPanel() })
|
...((isWindows || isLinux) && { appMethod: () => app.showAboutPanel() })
|
||||||
},
|
},
|
||||||
close: {
|
close: {
|
||||||
label: isMac ? 'Close Window' : 'Close',
|
label: isMac ? 'Close Window' : 'Close',
|
||||||
|
|
Loading…
Reference in a new issue