diff --git a/main.js b/main.js index 9d58004..e3d3643 100644 --- a/main.js +++ b/main.js @@ -68,6 +68,7 @@ const loadMainWindow = () => { }); mainWindow.once('ready-to-show', () => { + autoUpdater.checkForUpdates(); autoUpdater.checkForUpdatesAndNotify(); }); diff --git a/package.json b/package.json index bb50ae6..e654be7 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "main": "main.js", "scripts": { - "uglify": "uglifyjs-folder ./public/lib/ -o public/lib/all.min.js", + "uglify": "uglifyjs-folder ./public/lib/source -o public/lib/all.min.js", "start": "electron .", "test": "echo \"Error: no test specified\" && exit 1", "build": "electron-builder build --win --publish never", diff --git a/public/index.html b/public/index.html index 0bc10ac..59f1124 100644 --- a/public/index.html +++ b/public/index.html @@ -6,6 +6,19 @@