Skip to content

Commit

Permalink
fixed winsize on windows (#849)
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoPlays authored Oct 20, 2022
1 parent 813f0e8 commit 4933b6f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions launcher/src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,12 @@ async function createWindow() {
initwin['maxHeight'] = 609;
initwin['maxWidth'] = 1044;
}
if (process.platform === "win32"){
initwin['minHeight'] = 650
initwin['minWidth'] = 1100
initwin['maxHeight'] = 650
initwin['maxWidth'] = 1100
}

const win = new BrowserWindow(initwin);
win.setMenuBarVisibility(false);
Expand Down

0 comments on commit 4933b6f

Please sign in to comment.