Skip to content

Commit

Permalink
fix: showAboutPanel also on linux (#37872)
Browse files Browse the repository at this point in the history
showAboutPanel also on linux

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
  • Loading branch information
trop[bot] and mifi committed Apr 11, 2023
1 parent ae54e37 commit 81e3cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/browser/api/menu-item-roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 81e3cef

Please sign in to comment.