From 03e02b62a115ce63b677dcf1350f92e9652dae13 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Tue, 11 Apr 2023 15:20:08 +0900 Subject: [PATCH] fix: showAboutPanel also on linux (#37874) showAboutPanel also on linux Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Mikael Finstad --- lib/browser/api/menu-item-roles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/browser/api/menu-item-roles.ts b/lib/browser/api/menu-item-roles.ts index 08157029dfc3f..5f39e9b014e0f 100644 --- a/lib/browser/api/menu-item-roles.ts +++ b/lib/browser/api/menu-item-roles.ts @@ -26,7 +26,7 @@ export const roleList: Record = { get label () { return isLinux ? 'About' : `About ${app.name}`; }, - ...(isWindows && { appMethod: () => app.showAboutPanel() }) + ...((isWindows || isLinux) && { appMethod: () => app.showAboutPanel() }) }, close: { label: isMac ? 'Close Window' : 'Close',