Updated loging for auto update and disabled logging on dev
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user