From 20debb099d112a40d7c96e2e7b08ccfdb8669048 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Fri, 5 Sep 2025 00:16:49 -0700 Subject: [PATCH] remove electron file menu (#1041) --- src/main/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/index.ts b/src/main/index.ts index 9e064074..c11247a5 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -487,6 +487,7 @@ async function createWindow(first = true): Promise { const menuBuilder = new MenuBuilder(mainWindow); menuBuilder.buildMenu(); + Menu.setApplicationMenu(null); // Open URLs in the user's browser mainWindow.webContents.setWindowOpenHandler((edata) => {