diff --git a/main.js b/main.js index 1b3b916..b0c3b9c 100644 --- a/main.js +++ b/main.js @@ -77,7 +77,7 @@ autoUpdater.on('update-not-available', (ev, info) => { sendStatusToWindow('Update not available.'); }) autoUpdater.on('error', (ev, err) => { - sendStatusToWindow('Error in auto-updater.'); + sendStatusToWindow(`Error in auto-updater. ${err}`); }) autoUpdater.on('download-progress', (ev, progressObj) => { sendStatusToWindow('Download progress...'); diff --git a/package.json b/package.json index c480dc7..fdb043a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "electron-updater-example", - "version": "0.4.2", + "version": "0.4.3", "main": "main.js", "description": "electron-updater example project", "author": "Giovanni Giordano", @@ -15,6 +15,10 @@ "electron-log": "^1.3.0", "electron-updater": "^1.4.2" }, + "repository": { + "type": "git", + "url": "https://github.com/giovannigiordano/electron-updater-example.git" + }, "build": { "appId": "com.github.giovannigiordano.electronupdaterexample", "mac": { @@ -28,4 +32,4 @@ "perMachine": true } } -} +} \ No newline at end of file diff --git a/publish.sh b/publish.sh deleted file mode 100755 index d1e76e5..0000000 --- a/publish.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# if [ -z "$GH_TOKEN" ]; then -# echo "You must set the GH_TOKEN environment variable." -# echo "See README.md for more details." -# # exit 1 -# fi - -# This will build, package and upload the app to GitHub. -node_modules/.bin/build --win --mac -p always diff --git a/version.html b/version.html index d104eab..feb04ce 100644 --- a/version.html +++ b/version.html @@ -4,6 +4,7 @@ Electron Updater Example +

Complimenti, dopo 1 anno ci sei riuscito!

Current version: vX.Y.Z