From 8a7b9475004cb1a6020adee89d94ddc28deafa14 Mon Sep 17 00:00:00 2001 From: Daniel Scalzi Date: Thu, 25 Oct 2018 12:51:51 -0400 Subject: [PATCH] Move back to electron-updater (fix included), dep upgrade. --- index.js | 2 +- package-lock.json | 23 ++++++++++++----------- package.json | 4 ++-- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/index.js b/index.js index 63d7238d..8bfd03ab 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ // Requirements const {app, BrowserWindow, ipcMain} = require('electron') -const autoUpdater = require('electron-updater-bin').autoUpdater +const autoUpdater = require('electron-updater').autoUpdater const ejse = require('ejs-electron') const fs = require('fs') const isDev = require('./app/assets/js/isdev') diff --git a/package-lock.json b/package-lock.json index 9229aba5..57e4d691 100644 --- a/package-lock.json +++ b/package-lock.json @@ -520,7 +520,7 @@ }, "camelcase-keys": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "resolved": "http://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", "dev": true, "requires": { @@ -709,7 +709,7 @@ }, "readable-stream": { "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "dev": true, "requires": { @@ -928,9 +928,9 @@ } }, "electron": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/electron/-/electron-3.0.4.tgz", - "integrity": "sha512-GuZ4xCmV8wNNfkUAOdmOmgkYYaTQj5LATzc2i/b3MGhoXghnjECCgxo5yW+G2BeKM+R30cg69KA03tRzmIFxxQ==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/electron/-/electron-3.0.6.tgz", + "integrity": "sha512-MqwvA6IM0IDvUgPo/zHasmLMn3eYhMJ2I0qTNfQtxwqdoo762UlFS+upmMgcnCXPcGMGDWi3wtZhNir9nEw1kA==", "dev": true, "requires": { "@types/node": "^8.0.24", @@ -1040,9 +1040,10 @@ "mime": "^2.3.1" } }, - "electron-updater-bin": { - "version": "git://github.com/WesterosCraftCode/electron-updater-bin.git#5280cdce2b5b0c776387254e6e8b97ff5f53884f", - "from": "git://github.com/WesterosCraftCode/electron-updater-bin.git", + "electron-updater": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/electron-updater/-/electron-updater-3.1.2.tgz", + "integrity": "sha512-y3n37O01pdynMJHhJbOd2UVhVrmDW6zLvR2SOZ+gk3S6r16872+0nNbC48GXWwc26lTeus/Zja/XUpiqrvdw4A==", "requires": { "bluebird-lst": "^1.0.5", "builder-util-runtime": "~4.4.1", @@ -1977,7 +1978,7 @@ }, "load-json-file": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", "dev": true, "requires": { @@ -2087,7 +2088,7 @@ }, "meow": { "version": "3.7.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "resolved": "http://registry.npmjs.org/meow/-/meow-3.7.0.tgz", "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", "dev": true, "requires": { @@ -2649,7 +2650,7 @@ }, "readable-stream": { "version": "1.1.14", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", "dev": true, "requires": { diff --git a/package.json b/package.json index 94b6e7f1..a74faa31 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "discord-rpc": "^3.0.1", "ejs": "^2.6.1", "ejs-electron": "^2.0.3", - "electron-updater-bin": "git://github.com/WesterosCraftCode/electron-updater-bin", + "electron-updater": "^3.1.2", "github-syntax-dark": "^0.5.0", "jquery": "^3.3.1", "mkdirp": "^0.5.1", @@ -48,7 +48,7 @@ "winreg": "^1.2.4" }, "devDependencies": { - "electron": "^3.0.4", + "electron": "^3.0.6", "electron-builder": "^20.28.4", "eslint": "^5.7.0" },