Browse Source

fix: showAboutPanel also on linux (#37828)

showAboutPanel also on linux
Mikael Finstad 2 years ago
parent
commit
e8c87859c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/browser/api/menu-item-roles.ts

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

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