diff --git a/src/main/app-updater.ts b/src/main/app-updater.ts index 66eb09e7d4..3613c3ef18 100644 --- a/src/main/app-updater.ts +++ b/src/main/app-updater.ts @@ -2,7 +2,7 @@ import { autoUpdater } from "electron-updater" import logger from "./logger" export class AppUpdater { - static defaultUpdateIntervalMs = 1000 * 60 * 60 * 24 // once a day + static readonly defaultUpdateIntervalMs = 1000 * 60 * 60 * 24 // once a day static checkForUpdates() { return autoUpdater.checkForUpdatesAndNotify() diff --git a/src/main/index.ts b/src/main/index.ts index ed2cd5476e..35475e84d5 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -86,7 +86,7 @@ app.on("activate", (event, hasVisibleWindows) => { // Quit app on Cmd+Q (MacOS) app.on("will-quit", (event) => { logger.info('APP:QUIT'); - event.preventDefault(); // prevent app's default shutdown (e.g. required for mixpanel, GA, etc.) + event.preventDefault(); // prevent app's default shutdown (e.g. required for telemetry, etc.) if (userStore.preferences.trayEnabled) { return; // with tray the app remains open