Skip to content

Commit

Permalink
style: set main window max and min size
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronm-2112 committed Dec 6, 2023
1 parent d004f0d commit 927c3bb
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,12 @@ const initialize = () => {
function createWindow() {
// Create the browser window.
mainWindow = new BrowserWindow({
width: 900,
height: 670,
show: false,
minWidth: 1121,
minHeight: 735,
width: 1121,
height: 735,
center: true,
show: false,
nodeIntegration: true,
autoHideMenuBar: true,
Expand All @@ -585,11 +589,6 @@ const initialize = () => {
shell.openExternal(url)
})

// mainWindow.webContents.once("dom-ready", () => {
// if (updatechecked == false && !buildIsBeta) {
// autoUpdater.checkForUpdatesAndNotify();
// }
// })

mainWindow.on("close", async (e) => {
if (!user_restart_confirmed) {
Expand Down

0 comments on commit 927c3bb

Please sign in to comment.