debugging auto updater
This commit is contained in:
parent
17bcda5906
commit
ff5db54ac1
2 changed files with 11 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ backgroundMitt.on('window-active', (state: boolean) => {
|
|||
|
||||
// Auto updating.
|
||||
const { autoUpdater } = require('electron-updater')
|
||||
autoUpdater.requestHeaders = { 'PRIVATE-TOKEN': 'seMF_apn237iUw8puG9a' }
|
||||
autoUpdater.requestHeaders = { 'PRIVATE-TOKEN': 'mvvgWYwWnot4bisiQMh_' }
|
||||
|
||||
autoUpdater.on('update-available', (info: any) => {
|
||||
console.log(`Update available: ${info.version}`)
|
||||
|
|
|
|||
Loading…
Reference in a new issue