Skip to content

Commit

Permalink
Attempts to restart the app will show the popover (#939)
Browse files Browse the repository at this point in the history
  • Loading branch information
aenario authored and sebn committed Jan 22, 2018
1 parent 5e950b7 commit c6c6daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ const startSync = (force, ...args) => {
})
}

const shouldExit = app.makeSingleInstance(showWindow)
const shouldExit = app.makeSingleInstance(() => showWindow())
if (shouldExit) {
log.warn('Cozy Drive is already running. Exiting...')
app.exit()
Expand Down

0 comments on commit c6c6daa

Please sign in to comment.