Конфиг Electron (maximize)
This commit is contained in:
+2
-1
@@ -20,7 +20,8 @@ const createWindow = () => {
|
|||||||
preload: path.join(__dirname, 'preload.js'),
|
preload: path.join(__dirname, 'preload.js'),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
mainWindow.menuBarVisible = false;
|
mainWindow.setMenuBarVisibility(false);
|
||||||
|
mainWindow.maximize();
|
||||||
|
|
||||||
// and load the index.html of the app.
|
// and load the index.html of the app.
|
||||||
if (MAIN_WINDOW_VITE_DEV_SERVER_URL) {
|
if (MAIN_WINDOW_VITE_DEV_SERVER_URL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user