From 5013c1da25439c660714123fa852b6ca11455a86 Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Wed, 20 Aug 2025 20:51:03 +0200 Subject: [PATCH] Fix for bug --- Tactility/Source/app/launcher/Launcher.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Tactility/Source/app/launcher/Launcher.cpp b/Tactility/Source/app/launcher/Launcher.cpp index 46c4814d..af2e8ff5 100644 --- a/Tactility/Source/app/launcher/Launcher.cpp +++ b/Tactility/Source/app/launcher/Launcher.cpp @@ -2,7 +2,6 @@ #include "Tactility/app/AppRegistration.h" #include "Tactility/service/loader/Loader.h" -#include #include #include @@ -56,13 +55,10 @@ class LauncherApp : public App { void onCreate(TT_UNUSED AppContext& app) override { BootProperties boot_properties; - if (!loadBootProperties(boot_properties) || boot_properties.autoStartAppId.empty()) { - stop(); - return; + if (loadBootProperties(boot_properties) && !boot_properties.autoStartAppId.empty()) { + TT_LOG_I(TAG, "Starting %s", boot_properties.autoStartAppId.c_str()); + service::loader::startApp(boot_properties.autoStartAppId); } - - TT_LOG_I(TAG, "Starting %s", boot_properties.autoStartAppId.c_str()); - service::loader::startApp(boot_properties.autoStartAppId); } void onShow(TT_UNUSED AppContext& app, lv_obj_t* parent) override {