Skip to content

Commit

Permalink
Fix setTimeout: 600ms -> 600s
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jan 18, 2022
1 parent 3f1d6ab commit b10c7d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "boson",
"productName": "boson",
"version": "0.0.4-alpha.8",
"version": "0.0.4-alpha.9",
"author": "José Sánchez-Gallego <[email protected]>",
"description": "SDSS observer graphical user interface",
"repository": "github:albireox/boson",
Expand Down
2 changes: 1 addition & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ app.on('before-quit', (e) => {

function checkForUpdates() {
autoUpdater.checkForUpdates();
setInterval(checkForUpdates, 10 * 60); // Check again after 10 minutes.
setInterval(checkForUpdates, 10 * 60 * 1000); // Check again after 10 minutes.
}

autoUpdater.on('update-downloaded', (info: UpdateInfo) => {
Expand Down

0 comments on commit b10c7d8

Please sign in to comment.