fix: 🐛 修复 macOS 窗口问题

This commit is contained in:
viarotel 2023-10-21 01:43:47 +08:00
parent ea4df3d048
commit f768566636
2 changed files with 3 additions and 1 deletions

View File

@ -53,8 +53,8 @@ jobs:
with: with:
draft: true draft: true
prerelease: true prerelease: true
fail_on_unmatched_files: false
files: | files: |
!builder-debug.yml
dist-release/*.exe dist-release/*.exe
dist-release/*.zip dist-release/*.zip
dist-release/*.dmg dist-release/*.dmg

View File

@ -39,6 +39,8 @@ function createWindow() {
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
show: false, show: false,
icon, icon,
width: 1200,
height: 800,
minWidth: 1200, minWidth: 1200,
minHeight: 800, minHeight: 800,
autoHideMenuBar: true, autoHideMenuBar: true,