From d405aa445537ed68f3e3052ccddf1956662cacef Mon Sep 17 00:00:00 2001 From: Yu-Jen Lin Date: Fri, 21 Jul 2017 11:30:37 -0400 Subject: [PATCH] fixed bug and bump version to v0.1.57-beta --- main.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index d470fa8..91433d1 100644 --- a/main.js +++ b/main.js @@ -13,7 +13,7 @@ require('electron-debug')({showDevTools: false}); autoUpdater.logger = log; autoUpdater.logger.transports.file.level = "info"; // autoUpdater.autoDownload = false; -autoUpdater.allowPrerelease = false; +// autoUpdater.allowPrerelease = false; log.info('App Starting'); let manualupdate = false; @@ -51,6 +51,8 @@ function createWindow () { } if (settings.has("system.update")) { autoUpdater.allowPrerelease = settings.get("system.update.allowbeta") + } else { + autoUpdater.allowPrerelease = false } win = new BrowserWindow({ width: w, diff --git a/package.json b/package.json index 12d8e06..4c3edc4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "comic-reader", "productName": "Comic Reader", "author": "Team Comic Reader", - "version": "0.1.56-beta", + "version": "0.1.57-beta", "description": "A quicker, smoother and cooler reading experience. The best way to read comics.", "main": "main.js", "devDependencies": {