Skip to content

Commit 8f0b045

Browse files
committed
最初以降からはUpdaterがエラーをださない。
1 parent 2c39d8b commit 8f0b045

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ autoUpdater
4343
})
4444
.on('error', function (err, message) {
4545
console.error(err)
46-
notify('Updater error!', message)
46+
if (!versionNotified) {
47+
notify('Updater error!', message)
48+
}
4749
})
4850
// .on('checking-for-update', function () {
4951
// // Connecting

0 commit comments

Comments
 (0)