Skip to content

Commit

Permalink
Startup
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottkember committed Jun 3, 2020
1 parent 4f0ebd5 commit 575a158
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Soulmate",
"version": "1.0.8",
"version": "1.0.9",
"main": "src/electron.js",
"license": "MIT",
"dependencies": {
Expand Down
5 changes: 5 additions & 0 deletions src/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function createWindow() {
mainWindow = new BrowserWindow({
width: 1400,
height: 800,
show: false,
webPreferences: {
enableRemoteModule: true,
nodeIntegration: true,
Expand All @@ -47,6 +48,10 @@ function createWindow() {
}
});
});

mainWindow.once("ready-to-show", () => {
mainWindow.show();
});
}

app.on("ready", createWindow);
Expand Down

0 comments on commit 575a158

Please sign in to comment.