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({ mainWindow = new BrowserWindow({
show: false, show: false,
icon, icon,
width: 1200, width: 1000,
height: 800, height: 700,
minWidth: 1200, minWidth: 1000,
minHeight: 800, minHeight: 700,
autoHideMenuBar: true, autoHideMenuBar: true,
webPreferences: { webPreferences: {
// nodeIntegration: true, // nodeIntegration: true,