Skip to content

Commit

Permalink
fixing initial open
Browse files Browse the repository at this point in the history
  • Loading branch information
tnrich committed Sep 18, 2019
1 parent 223b957 commit cc09899
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ app.on("will-finish-launching", () => {
// This method will be called when Electron has finished
// initialization and is ready to create browser windows.
// Some APIs can only be used after this event occurs.
app.on("ready", createWindow);
app.on("ready", () => {
createWindow()
});

// Quit when all windows are closed.
app.on("window-all-closed", function() {
Expand Down

0 comments on commit cc09899

Please sign in to comment.