From 1eedf1ad60024fb17ce7efd38f896ed8b09cbdc2 Mon Sep 17 00:00:00 2001 From: GamingLiamStudios Date: Mon, 7 Feb 2022 22:52:02 +1100 Subject: [PATCH] remove everything except debug log --- src/main/base/browserwindow.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/base/browserwindow.ts b/src/main/base/browserwindow.ts index c446e12a..e2968293 100644 --- a/src/main/base/browserwindow.ts +++ b/src/main/base/browserwindow.ts @@ -565,6 +565,7 @@ export class BrowserWindow { ipcMain.on('check-for-update', (_event) => { console.log('Checking for updates') + /* const branch = utils.getStoreValue('general.update_branch') let latestbranch = fetch(`https://circleci.com/api/v1.1/project/gh/ciderapp/Cider/latest/artifacts?branch=${branch}&filter=successful`).then().catch() if (latestbranch.status != 200) { @@ -579,13 +580,16 @@ export class BrowserWindow { provider: 'generic', url: 'https://43-429851205-gh.circle-artifacts.com/0/%7E/Cider/dist/artifacts' //Base URL } + */ /* * Have to handle the auto updaters seperatly until we can support macOS. electron-builder limitation -q */ - const win_autoUpdater = new NsisUpdater(options) //Windows - const linux_autoUpdater = new AppImageUpdater(options) //Linux - await win_autoUpdater.checkForUpdatesAndNotify().then().catch() - await linux_autoUpdater.checkForUpdatesAndNotify().then().catch() + /* + const win_autoUpdater = new NsisUpdater(options) //Windows + const linux_autoUpdater = new AppImageUpdater(options) //Linux + win_autoUpdater.checkForUpdatesAndNotify().then().catch() + linux_autoUpdater.checkForUpdatesAndNotify().then().catch() + */ }) ipcMain.on('share-menu', async (_event, url) => {