Skip to content

Commit

Permalink
first run should only run once!
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdesl committed Feb 11, 2016
1 parent 68a84c9 commit 434a77f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main-window.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function createMainWindow (entry, url, argv, onReady) {
var webContents = mainWindow.webContents;

// Send along stdin after first run
ipc.on('first-run', onFirstRun);
ipc.once('first-run', onFirstRun);

if (argv.headless) {
// Run without any debugger/DevTools
Expand Down

0 comments on commit 434a77f

Please sign in to comment.