Skip to content

Commit f489669

Browse files
committed
removeMenu
1 parent 38f0b6e commit f489669

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/window/home.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = async function homeWindow(path, fs, App_Path, BrowserWindow, ipcMain, app, Tray, Menu, globalShortcut) {
2-
2+
33
let win
44
let tray
55
let contextMenu
@@ -21,7 +21,7 @@
2121
}
2222
});
2323

24-
// win.removeMenu();
24+
win.removeMenu();
2525
win?.loadFile(path.join(__dirname, '../pages/home.html'));
2626

2727
win?.once('ready-to-show', () => {

0 commit comments

Comments
 (0)