Vanessa 2024-02-04 17:29:25 +08:00
parent 6fcf50e8fa
commit b48d5450b4
2 changed files with 97 additions and 89 deletions

View file

@ -863,8 +863,8 @@ app.whenReady().then(() => {
parent: getWindowByContentId(event.sender.id),
modal: true,
show: true,
width: 1032,
height: 725,
width: Math.floor(screen.getPrimaryDisplay().size.width * 0.8),
height: Math.floor(screen.getPrimaryDisplay().workAreaSize.height * 0.8),
resizable: false,
frame: "darwin" === process.platform,
icon: path.join(appDir, "stage", "icon-large.png"),