perf: 🔨 优化窗口默认大小

This commit is contained in:
viarotel 2023-10-21 09:12:13 +08:00
parent 27824ad5ec
commit 393e899eeb

View File

@ -39,10 +39,10 @@ function createWindow() {
mainWindow = new BrowserWindow({
show: false,
icon,
width: 1200,
height: 800,
minWidth: 1200,
minHeight: 800,
width: 1000,
height: 700,
minWidth: 1000,
minHeight: 700,
autoHideMenuBar: true,
webPreferences: {
// nodeIntegration: true,