Updated loging for auto update and disabled logging on dev

This commit is contained in:
Patrick Fic
2020-10-26 13:44:49 -07:00
parent ad48326dc0
commit d986653845
3 changed files with 7 additions and 7 deletions

View File

@@ -243,19 +243,19 @@ function createTray() {
}
autoUpdater.on("checking-for-update", () => {
console.log("Checking for update...");
log.log("Checking for update...");
});
autoUpdater.on("update-available", (ev, info) => {
console.log("Update available.");
log.log("Update available.");
});
autoUpdater.on("update-not-available", (ev, info) => {
console.log("Update not available.");
log.log("Update not available.");
});
autoUpdater.on("error", (ev, err) => {
console.log("Error in auto-updater.");
log.log("Error in auto-updater.");
});
autoUpdater.on("download-progress", (ev, progressObj) => {
console.log("Download progress...");
log.log("Download progress...");
});
// autoUpdater.on("update-downloaded", (ev, info) => {
// console.log("Update downloaded; will install in 5 seconds");