diff --git a/src/autoUpdater.ts b/src/autoUpdater.ts index 84056fd..4cd2234 100644 --- a/src/autoUpdater.ts +++ b/src/autoUpdater.ts @@ -7,17 +7,17 @@ export function shouldAutoUpdate(build: BuildInfo) { } export function handleAutoUpdate() { - autoUpdater.on('update-available', (info: UpdateInfo) => { - console.log('There is an update available') - }) + // autoUpdater.on('update-available', (info: UpdateInfo) => { + // console.log('There is an update available') + // }) - autoUpdater.on('error', () => { - console.log('could not update due to error') - }) + // autoUpdater.on('error', (error) => { + // console.error('could not update due to error', error) + // }) - try { - autoUpdater.checkForUpdatesAndNotify() - } catch (error) { - console.error(error) - } + // try { + // autoUpdater.checkForUpdatesAndNotify() + // } catch (error) { + // console.error(error) + // } }