Skip to content

Commit

Permalink
perf: 🔨 优化窗口默认大小
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Oct 21, 2023
1 parent 27824ad commit 393e899
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 393e899

Please sign in to comment.