From 3c8bac6bf926dac9a15b259b676149cecb9bc4e6 Mon Sep 17 00:00:00 2001 From: sawka Date: Wed, 7 Aug 2024 14:10:14 -0700 Subject: [PATCH] add console logs in front of all GetSettingsConfig calls in emain --- emain/emain.ts | 1 + emain/updater.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/emain/emain.ts b/emain/emain.ts index 710378bd3..66484a24d 100644 --- a/emain/emain.ts +++ b/emain/emain.ts @@ -208,6 +208,7 @@ function runWaveSrv(): Promise { } async function handleWSEvent(evtMsg: WSEventType) { + console.log("handleWSEvent", evtMsg?.eventtype); if (evtMsg.eventtype == "electron:newwindow") { const windowId: string = evtMsg.data; const windowData: WaveWindow = (await services.ObjectService.GetObject("window:" + windowId)) as WaveWindow; diff --git a/emain/updater.ts b/emain/updater.ts index ec1e7c377..8216d0680 100644 --- a/emain/updater.ts +++ b/emain/updater.ts @@ -91,6 +91,7 @@ export class Updater { * @param userInput Whether the user is requesting this. If so, an alert will report the result of the check. */ async checkForUpdates(userInput: boolean) { + console.log("checkForUpdates"); const autoUpdateOpts = (await services.FileService.GetSettingsConfig()).autoupdate; // If there's an active update check interval, check that the user still has auto update checks enabled. If not, remove the interval. @@ -185,6 +186,7 @@ export async function configureAutoUpdater() { return; } + console.log("configureAutoUpdater"); autoUpdateLock = true; const autoUpdateOpts = (await services.FileService.GetSettingsConfig()).autoupdate;