Skip to content

Commit

Permalink
Maximise before loading URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Hemal Ruparelia committed Jan 21, 2018
1 parent 020be24 commit 54aa2a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ app.on('ready', () => {
handleFilePath(filePath);
}
}
mainWindow.maximize();

if (isDev) {
mainWindow.loadURL('http://localhost:3000/');
Expand All @@ -77,8 +78,6 @@ app.on('ready', () => {
mainWindow.loadURL('https://new.mediref.com.au/new');
}

mainWindow.maximize();

appUpdater(mainWindow);

setTimeout(() => {
Expand Down

0 comments on commit 54aa2a2

Please sign in to comment.