Skip to content

Commit a5cda26

Browse files
committed
Fixed Auto Updater #2
1 parent 55de25e commit a5cda26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "simplelauncher",
3-
"version": "0.1.8",
3+
"version": "0.1.9",
44
"description": "Launcher for SimpleClient",
55
"main": "src/main.js",
66
"scripts": {

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { openAuthWindow, getAccounts } = require('./auth');
88
const { checkForUpdates, update } = require('./updater');
99

1010
if (!electronIsDev) {
11-
checkForUpdates(() => {
11+
checkForUpdates(async () => {
1212
require('dialog-node').question('An update for SimpleLauncher is available.\nShould it be downloaded in the background?', 'SimpleLauncher', 0, (code, value, stderr) => {
1313
if (value == 'OK') update()
1414
})

0 commit comments

Comments
 (0)