Skip to content

Commit

Permalink
fixed problem with update variable
Browse files Browse the repository at this point in the history
  • Loading branch information
geraldoramos committed Dec 25, 2017
1 parent 8dfb48d commit 34fede3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.js
Expand Up @@ -57,7 +57,6 @@ function createWindow() {
sendStatusToWindow('Checking for update...');
})
autoUpdater.on('update-available', (info) => {
updateAvailable = true
sendStatusToWindow('Update available.');
})
autoUpdater.on('update-not-available', (info) => {
Expand All @@ -73,6 +72,7 @@ function createWindow() {
sendStatusToWindow(log_message);
})
autoUpdater.on('update-downloaded', (info) => {
updateAvailable = true
sendStatusToWindow('Update downloaded');
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "crypto-bar",
"version": "1.1.10",
"version": "1.1.11",
"main": "index.js",
"title": "Crypto Bar",
"description": "A menu bar application that updates cryptocurrencies prices in real-time",
Expand Down

0 comments on commit 34fede3

Please sign in to comment.