From 38a4a6f9e745ce315b252faff7eeea728cc74277 Mon Sep 17 00:00:00 2001 From: Lautaro Petaccio <1120791+LautaroPetaccio@users.noreply.github.com> Date: Fri, 12 Jan 2024 16:08:19 -0300 Subject: [PATCH] fix: Remove launch desktop prompt (#449) --- src/kernel-loader/index.ts | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/src/kernel-loader/index.ts b/src/kernel-loader/index.ts index c74b4871..8a26e935 100644 --- a/src/kernel-loader/index.ts +++ b/src/kernel-loader/index.ts @@ -390,23 +390,14 @@ export function startKernel() { track('initialize_versions', injectVersions({})) if (!isMobile()) { - launchDesktopApp().then((launched) => { - if (launched) { - store.dispatch(setDesktopDetected(launched)) - track('desktop_launched') - } - - return initKernel() - .then((kernel) => { - store.dispatch(setKernelLoaded(kernel)) - if (!launched) { - return initLogin(kernel) - } - }) - .catch((error) => { - store.dispatch(setKernelError({ error })) - defaultWebsiteErrorTracker(error) - }) - }) + return initKernel() + .then((kernel) => { + store.dispatch(setKernelLoaded(kernel)) + return initLogin(kernel) + }) + .catch((error) => { + store.dispatch(setKernelError({ error })) + defaultWebsiteErrorTracker(error) + }) } }