Skip to content

Commit

Permalink
removeMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
islamiaat committed Mar 5, 2023
1 parent 38f0b6e commit f489669
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/window/home.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = async function homeWindow(path, fs, App_Path, BrowserWindow, ipcMain, app, Tray, Menu, globalShortcut) {

let win
let tray
let contextMenu
Expand All @@ -21,7 +21,7 @@
}
});

// win.removeMenu();
win.removeMenu();
win?.loadFile(path.join(__dirname, '../pages/home.html'));

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

0 comments on commit f489669

Please sign in to comment.