diff --git a/app/main.development.js b/app/main.development.js index 209acde..7760ccb 100644 --- a/app/main.development.js +++ b/app/main.development.js @@ -92,9 +92,7 @@ app.on('ready', async () => { menuBuilder.buildMenu(); }); -autoUpdater.on('update-available', (info) => { - console.log(info); -}); + autoUpdater.on('download-progress', (progressObj) => { log.info('Downloaded ' + Math.round(progressObj.percent) + '% (' + progressObj.transferred + "/" + progressObj.total + ')'); }); diff --git a/package-lock.json b/package-lock.json index 7ca3be3..d587709 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5500,12 +5500,12 @@ "dev": true }, "electron-updater": { - "version": "2.17.6", - "resolved": "https://registry.npmjs.org/electron-updater/-/electron-updater-2.17.6.tgz", - "integrity": "sha512-2xU544Ha0OXSMhypC4+EMfD+8rUH47OQ3UYGXJJjIaQNdIVF17EDoftsgoTAbL3N4axaPYBCPOiuEowyvFzNlw==", + "version": "2.16.3", + "resolved": "https://registry.npmjs.org/electron-updater/-/electron-updater-2.16.3.tgz", + "integrity": "sha512-CuzODrj8PqzOoJummHkC1hzrM/Z01gio6G2Z9/LxhcrMfKfwlfs3jl4ds0ryDeoPnQafCK9tT1brDjW7rSYd9w==", "requires": { "bluebird-lst": "1.0.5", - "builder-util-runtime": "3.4.1", + "builder-util-runtime": "3.3.1", "electron-is-dev": "0.3.0", "fs-extra-p": "4.5.0", "js-yaml": "3.10.0", @@ -5516,9 +5516,9 @@ }, "dependencies": { "builder-util-runtime": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-3.4.1.tgz", - "integrity": "sha512-I5fvn41z+vdjPvDZD6RigjyGyWQqjAh8Rs2IVbCI7HXlnEHkyT6Sl5fsS85eAjzs+huLzdbyABHz2CxGviPfWg==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-3.3.1.tgz", + "integrity": "sha512-Z7ofwcr0PBptBtCl07prJg8yJxPgY2Zo4NiPYLSAsbE8Q9qMm+51274G17hE55w/eRYdprV5+bRGW/tyMfE4Lw==", "requires": { "bluebird-lst": "1.0.5", "debug": "3.1.0", @@ -5539,25 +5539,6 @@ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==" }, - "fs-extra": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-5.0.0.tgz", - "integrity": "sha512-66Pm4RYbjzdyeuqudYqhFiNBbCIuI9kgRqLPSHIlXHidW8NIQtVdkM1yeZ4lXwuhbTETv3EUGMNHAAw6hiundQ==", - "requires": { - "graceful-fs": "4.1.11", - "jsonfile": "4.0.0", - "universalify": "0.1.1" - } - }, - "fs-extra-p": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/fs-extra-p/-/fs-extra-p-4.5.0.tgz", - "integrity": "sha512-V/sdZmV+Yx3+nfXmjRTdBP4mVWCt7hZ0+ZOv+IZo+6fdkBxafaGsI7mYeNv/J3rWyz+mIToCFQORFSwt1bZw8Q==", - "requires": { - "bluebird-lst": "1.0.5", - "fs-extra": "5.0.0" - } - }, "js-yaml": { "version": "3.10.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.10.0.tgz", @@ -5567,14 +5548,6 @@ "esprima": "4.0.0" } }, - "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "requires": { - "graceful-fs": "4.1.11" - } - }, "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", @@ -7262,7 +7235,6 @@ "version": "4.5.0", "resolved": "https://registry.npmjs.org/fs-extra-p/-/fs-extra-p-4.5.0.tgz", "integrity": "sha512-V/sdZmV+Yx3+nfXmjRTdBP4mVWCt7hZ0+ZOv+IZo+6fdkBxafaGsI7mYeNv/J3rWyz+mIToCFQORFSwt1bZw8Q==", - "dev": true, "requires": { "bluebird-lst": "1.0.5", "fs-extra": "5.0.0" @@ -7272,7 +7244,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-5.0.0.tgz", "integrity": "sha512-66Pm4RYbjzdyeuqudYqhFiNBbCIuI9kgRqLPSHIlXHidW8NIQtVdkM1yeZ4lXwuhbTETv3EUGMNHAAw6hiundQ==", - "dev": true, "requires": { "graceful-fs": "4.1.11", "jsonfile": "4.0.0", @@ -7283,7 +7254,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "dev": true, "requires": { "graceful-fs": "4.1.11" } diff --git a/package.json b/package.json index c49b3e4..5f6c916 100644 --- a/package.json +++ b/package.json @@ -211,7 +211,7 @@ "electron-debug": "^1.4.0", "electron-log": "^2.2.12", "electron-redux": "^1.3.1", - "electron-updater": "^2.17.6", + "electron-updater": "^2.16.3", "hex-to-rgb": "^1.0.1", "interpolating-polynomial": "^1.1.2", "moment": "^2.20.0",