This commit is contained in:
24kycj
2024-12-03 00:12:08 +08:00
parent 1dba691ab9
commit 8eee91ee3a
3 changed files with 17 additions and 22 deletions
+3 -3
View File
@@ -19,8 +19,8 @@ function createWindow () {
* Initial window options
*/
mainWindow = new BrowserWindow({
width: 1920,
height: 1080,
width: 1280,
height: 800,
useContentSize: true,
show: false,
fullscreen: false,
@@ -34,7 +34,7 @@ function createWindow () {
require("@electron/remote/main").enable(mainWindow.webContents);
// 禁用默认菜单
// Menu.setApplicationMenu(null);
mainWindow.maximize()
// mainWindow.maximize()
mainWindow.show()
mainWindow.loadURL(winURL)
mainWindow.on('closed', () => {