Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
update close logic
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolashajdys committed May 12, 2023
1 parent 49ed221 commit 3d2f990
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "CodaBox-SyncTool",
"productName": "CodaBox SyncTool Test 2",
"version": "0.3.40",
"version": "0.3.41",
"description": "CodaBox desktop client",
"main": ".webpack/main",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/main/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ autoUpdater.on('update-downloaded', (event, releaseNotes, releaseName) => {
dialog.showMessageBox(dialogOpts).then((returnValue) => {
if (returnValue.response === 0) {
log('Clicked the right button', 'test')
app.isQuiting = true
autoUpdater.quitAndInstall()
}
})
Expand Down

0 comments on commit 3d2f990

Please sign in to comment.