fix: showAboutPanel also on linux (#37828)

showAboutPanel also on linux
This commit is contained in:
Mikael Finstad
2023-04-07 03:50:24 +09:00
committed by GitHub
parent 83e186fdbc
commit e8c87859c4

View File

@@ -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',