Skip to content

Commit

Permalink
Added screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Mar 26, 2021
1 parent ccb8409 commit a16d7e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified docs/assets/img/app-shot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/app-shot3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions packages/altair-electron/src/updates.js
Expand Up @@ -23,8 +23,8 @@ autoUpdater.on('update-available', () => {
title: 'Found Updates',
message: 'Found updates, do you want update now?',
buttons: ['Sure', 'No']
}, (buttonIndex) => {
if (buttonIndex === 0) {
}).then(({ response }) => {
if (response === 0) {
autoUpdater.downloadUpdate();
} else if (updater) {
updater.enabled = true;
Expand All @@ -50,7 +50,7 @@ autoUpdater.on('update-downloaded', () => {
dialog.showMessageBox({
title: 'Install Updates',
message: 'Updates downloaded, application will now exit to update.'
}, () => {
}).then(() => {
setImmediate(() => autoUpdater.quitAndInstall());
});
});
Expand Down

0 comments on commit a16d7e3

Please sign in to comment.