We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef48321 commit 02e7778Copy full SHA for 02e7778
electron/main.ts
@@ -24,11 +24,12 @@ function createWindow() {
24
width: 800,
25
height: 600,
26
resizable: false,
27
- autoHideMenuBar: true,
28
icon: path.join(process.env.VITE_PUBLIC, "electron-vite.svg"),
29
webPreferences: { preload: path.join(__dirname, "preload.mjs") },
30
});
31
+ win.setMenu(null);
32
+
33
if (VITE_DEV_SERVER_URL) win.loadURL(VITE_DEV_SERVER_URL);
34
else win.loadFile(path.join(RENDERER_DIST, "index.html"));
35
}
0 commit comments