From d89609415bcbd47ad8b2eff4684933ffbcee3cab Mon Sep 17 00:00:00 2001 From: Iku-turso Date: Wed, 5 Jan 2022 15:58:48 +0200 Subject: [PATCH] Kludge a timing issue until root cause of shared global state is fixed Co-authored-by: Janne Savolainen Signed-off-by: Iku-turso --- src/main/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/index.ts b/src/main/index.ts index 6c0069fb32..96c3ef42f1 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -75,6 +75,8 @@ import trayMenuItemsInjectable from "./tray/tray-menu-items.injectable"; const di = getDi(); +app.setName(appName); + di.runSetups().then(() => { injectSystemCAs(); @@ -82,7 +84,6 @@ di.runSetups().then(() => { const onQuitCleanup = disposer(); SentryInit(); - app.setName(appName); logger.info(`📟 Setting ${productName} as protocol client for lens://`);