Skip to content

Commit 81e3cef

Browse files
trop[bot]mifi
andauthored
fix: showAboutPanel also on linux (#37872)
showAboutPanel also on linux Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Mikael Finstad <finstaden@gmail.com>
1 parent ae54e37 commit 81e3cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/browser/api/menu-item-roles.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const roleList: Record<RoleId, Role> = {
2626
get label () {
2727
return isLinux ? 'About' : `About ${app.name}`;
2828
},
29-
...(isWindows && { appMethod: () => app.showAboutPanel() })
29+
...((isWindows || isLinux) && { appMethod: () => app.showAboutPanel() })
3030
},
3131
close: {
3232
label: isMac ? 'Close Window' : 'Close',

0 commit comments

Comments
 (0)