We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a79efff commit f57c044Copy full SHA for f57c044
backend/utils/window.ts
@@ -21,7 +21,7 @@ class Window {
21
icon: path.join(process.env.VITE_PUBLIC, "icon.png"),
22
webPreferences: {
23
preload: path.join(__dirname, "preload.mjs"),
24
- // devTools: !app.isPackaged,
+ devTools: !app.isPackaged,
25
},
26
autoHideMenuBar: true,
27
minWidth: 1000,
@@ -36,9 +36,9 @@ class Window {
36
VITE_DEV_SERVER_URL || path.join(RENDERER_DIST, "index.html");
37
win.loadURL(loadURL);
38
39
- // if (app.isPackaged) {
40
- // win.setMenu(null);
41
- // }
+ if (app.isPackaged) {
+ win.setMenu(null);
+ }
42
43
if (!this.tray) this.createTray();
44
0 commit comments