remove everything except debug log

This commit is contained in:
GamingLiamStudios 2022-02-07 22:52:02 +11:00
parent 37d31d9969
commit 1eedf1ad60
No known key found for this signature in database
GPG key ID: 3650DE4EAFF62ADD

View file

@ -565,6 +565,7 @@ export class BrowserWindow {
ipcMain.on('check-for-update', (_event) => { ipcMain.on('check-for-update', (_event) => {
console.log('Checking for updates') console.log('Checking for updates')
/*
const branch = utils.getStoreValue('general.update_branch') 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() 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) { if (latestbranch.status != 200) {
@ -579,13 +580,16 @@ export class BrowserWindow {
provider: 'generic', provider: 'generic',
url: 'https://43-429851205-gh.circle-artifacts.com/0/%7E/Cider/dist/artifacts' //Base URL 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 * 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 const win_autoUpdater = new NsisUpdater(options) //Windows
await win_autoUpdater.checkForUpdatesAndNotify().then().catch() const linux_autoUpdater = new AppImageUpdater(options) //Linux
await linux_autoUpdater.checkForUpdatesAndNotify().then().catch() win_autoUpdater.checkForUpdatesAndNotify().then().catch()
linux_autoUpdater.checkForUpdatesAndNotify().then().catch()
*/
}) })
ipcMain.on('share-menu', async (_event, url) => { ipcMain.on('share-menu', async (_event, url) => {