Commit d8219114 authored by 神楽坂玲奈's avatar 神楽坂玲奈

ignore update error (commented out for debug)

parent d934e733
...@@ -202,7 +202,10 @@ function start_server() { ...@@ -202,7 +202,10 @@ function start_server() {
autoUpdater.setFeedURL('https://mycard.moe/update/' + {win32: 'win'}[process.platform] + {ia32: '32', x64: '64'}[process.arch]); autoUpdater.setFeedURL('https://mycard.moe/update/' + {win32: 'win'}[process.platform] + {ia32: '32', x64: '64'}[process.arch]);
autoUpdater.checkForUpdates(); autoUpdater.checkForUpdates();
/*autoUpdater.on('checking-for-update', ()=>{ /*autoUpdater.on('error', (error)=>{
console.log('update error', error)
});
autoUpdater.on('checking-for-update', ()=>{
console.log('checking-for-update') console.log('checking-for-update')
}); });
autoUpdater.on('update-available', ()=>{ autoUpdater.on('update-available', ()=>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment