3 Commits

Author SHA1 Message Date
1f5da03474 Merge pull request #5 from litruv/copilot/remove-menu-bar-electron
Remove menu bar from Electron application
2025-10-20 02:53:11 +11:00
copilot-swe-agent[bot]
9261def7cd Remove menu bar from Electron application
Co-authored-by: litruv <3798007+litruv@users.noreply.github.com>
2025-10-19 15:48:48 +00:00
copilot-swe-agent[bot]
b9712954bf Initial plan 2025-10-19 15:44:17 +00:00

View File

@@ -1,4 +1,4 @@
const { app, BrowserWindow, ipcMain } = require("electron");
const { app, BrowserWindow, ipcMain, Menu } = require("electron");
const fs = require("node:fs/promises");
const path = require("node:path");
@@ -84,6 +84,7 @@ function registerIpcHandlers() {
*/
function registerAppLifecycle() {
app.whenReady().then(() => {
Menu.setApplicationMenu(null);
createMainWindow();
registerIpcHandlers();