From f41728550c9502449f44b3c3ffb929bc50f693a9 Mon Sep 17 00:00:00 2001 From: Patrick FIc Date: Thu, 28 Aug 2025 13:01:03 -0700 Subject: [PATCH] Include prior 1.0.3 fix. --- src/main/ipc/ipcMainHandler.user.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/ipc/ipcMainHandler.user.ts b/src/main/ipc/ipcMainHandler.user.ts index 9d9f5ba..faec7fa 100644 --- a/src/main/ipc/ipcMainHandler.user.ts +++ b/src/main/ipc/ipcMainHandler.user.ts @@ -24,13 +24,13 @@ const ipcMainHandleAuthStateChanged = async ( //Need to query the currently active shop, and store the metadata as well. //Also need to query the OP Codes for decoding reference. log.debug("Received authentication state change from Renderer.", user); - handleShopMetaDataFetch(); + await handleShopMetaDataFetch(); //Check for updates const bodyshop = Store.get("app.bodyshop"); - if (bodyshop?.convenient_company === "alpha") { + if (bodyshop?.convenient_company?.toLowerCase() === "alpha") { autoUpdater.channel = "alpha"; log.debug("Setting update channel to ALPHA channel."); - } else if (bodyshop?.convenient_company === "beta") { + } else if (bodyshop?.convenient_company?.toLowerCase() === "beta") { autoUpdater.channel = "beta"; log.debug("Setting update channel to BETA channel."); }