Skip to content

Commit

Permalink
fix: 🐛 修复 macOS 窗口问题
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Oct 20, 2023
1 parent ea4df3d commit f768566
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
with:
draft: true
prerelease: true
fail_on_unmatched_files: false
files: |
!builder-debug.yml
dist-release/*.exe
dist-release/*.zip
dist-release/*.dmg
Expand Down
2 changes: 2 additions & 0 deletions electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ function createWindow() {
mainWindow = new BrowserWindow({
show: false,
icon,
width: 1200,
height: 800,
minWidth: 1200,
minHeight: 800,
autoHideMenuBar: true,
Expand Down

0 comments on commit f768566

Please sign in to comment.