diff --git a/src/main.js b/src/main.js index 676d8c5..070a946 100644 --- a/src/main.js +++ b/src/main.js @@ -20,7 +20,8 @@ const createWindow = () => { preload: path.join(__dirname, 'preload.js'), }, }); - mainWindow.menuBarVisible = false; + mainWindow.setMenuBarVisibility(false); + mainWindow.maximize(); // and load the index.html of the app. if (MAIN_WINDOW_VITE_DEV_SERVER_URL) {