From d986653845c2f7f34671ea8c3c5276f47525fcbb Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 26 Oct 2020 13:44:49 -0700 Subject: [PATCH] Updated loging for auto update and disabled logging on dev --- electron/main.js | 10 +++++----- .../atoms/watcher-startup/watcher-startup.atom.jsx | 2 +- src/index.js | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/electron/main.js b/electron/main.js index ab5d3f9..35ee665 100644 --- a/electron/main.js +++ b/electron/main.js @@ -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"); diff --git a/src/components/atoms/watcher-startup/watcher-startup.atom.jsx b/src/components/atoms/watcher-startup/watcher-startup.atom.jsx index 9bb02f0..047e50f 100644 --- a/src/components/atoms/watcher-startup/watcher-startup.atom.jsx +++ b/src/components/atoms/watcher-startup/watcher-startup.atom.jsx @@ -29,7 +29,7 @@ export function WatcherStartupAtom({ appSettings }) { return (
- +