From e3c48f55e8719ada1daa4196c249fe4e1de0bae5 Mon Sep 17 00:00:00 2001 From: Makisuo Date: Sun, 7 Feb 2021 01:58:21 +0100 Subject: [PATCH] some more minor auto update changes. --- main/autoUpdater.ts | 7 ++++++- package.json | 4 ++-- renderer/pages/index.tsx | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/main/autoUpdater.ts b/main/autoUpdater.ts index ab8f065..d24a5c1 100644 --- a/main/autoUpdater.ts +++ b/main/autoUpdater.ts @@ -4,10 +4,15 @@ const version = app.getVersion() const platform = os.platform() + '_' + os.arch() // usually returns darwin_64 const updaterFeedURL = - 'https://league-utils-release.herokuapp.com/' + platform + '/' + version + 'https://league-utils-release.herokuapp.com/update/' + + platform + + '/' + + version export function appUpdater() { + console.log(updaterFeedURL) autoUpdater.setFeedURL(updaterFeedURL) + /* Log whats happening TODO send autoUpdater events to renderer so that we could console log it in developer tools You could alsoe use nslog or other logging to see what's happening */ diff --git a/package.json b/package.json index f307b7f..1b09477 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "private": false, + "private": true, "name": "league-utils", "description": "League Utils", - "version": "0.2.5", + "version": "0.2.7", "author": "David Granzin ", "main": "app/background.js", "scripts": { diff --git a/renderer/pages/index.tsx b/renderer/pages/index.tsx index 604ebd2..5487e29 100644 --- a/renderer/pages/index.tsx +++ b/renderer/pages/index.tsx @@ -46,7 +46,7 @@ const Home = () => {