diff --git a/applications/main/archive/scenes/archive_scene_browser.c b/applications/main/archive/scenes/archive_scene_browser.c index 551f68924..c09b3705a 100644 --- a/applications/main/archive/scenes/archive_scene_browser.c +++ b/applications/main/archive/scenes/archive_scene_browser.c @@ -62,7 +62,10 @@ static void loader_start_with_gui_error(loader, app_name, param); } else { const char* str = furi_string_get_cstr(selected->path); - if(favorites) { + if(favorites && + (selected->type == ArchiveFileTypeIButton || + selected->type == ArchiveFileTypeLFRFID || selected->type == ArchiveFileTypeNFC || + selected->type == ArchiveFileTypeSubGhz)) { char arg[strlen(str) + 4]; snprintf(arg, sizeof(arg), "fav%s", str); loader_start_with_gui_error(loader, app_name, arg); diff --git a/applications/main/bad_kb/bad_kb_app.c b/applications/main/bad_kb/bad_kb_app.c index d2044afe4..e62ad4d3a 100644 --- a/applications/main/bad_kb/bad_kb_app.c +++ b/applications/main/bad_kb/bad_kb_app.c @@ -5,7 +5,6 @@ #include #include #include -#include #include #include @@ -116,7 +115,6 @@ BadKbApp* bad_kb_app_alloc(char* arg) { app->file_path = furi_string_alloc(); app->keyboard_layout = furi_string_alloc(); - process_favorite_launch(&arg); if(arg && strlen(arg)) { furi_string_set(app->file_path, arg); } diff --git a/applications/main/infrared/infrared.c b/applications/main/infrared/infrared.c index 2166c448a..d4bfde99f 100644 --- a/applications/main/infrared/infrared.c +++ b/applications/main/infrared/infrared.c @@ -2,7 +2,6 @@ #include #include -#include #define INFRARED_TX_MIN_INTERVAL_MS 50U @@ -450,7 +449,6 @@ int32_t infrared_app(char* p) { bool is_remote_loaded = false; bool is_rpc_mode = false; - process_favorite_launch(&p); if(p && strlen(p)) { uint32_t rpc_ctx = 0; if(sscanf(p, "RPC %lX", &rpc_ctx) == 1) { diff --git a/applications/system/updater/updater.c b/applications/system/updater/updater.c index 59af8a3b0..9d3a7bab8 100644 --- a/applications/system/updater/updater.c +++ b/applications/system/updater/updater.c @@ -7,7 +7,6 @@ #include #include #include -#include static bool updater_custom_event_callback(void* context, uint32_t event) { furi_assert(context); @@ -35,7 +34,6 @@ static void Updater* updater_alloc(char* arg) { Updater* updater = malloc(sizeof(Updater)); - process_favorite_launch(&arg); if(arg && strlen(arg)) { updater->startup_arg = furi_string_alloc_set(arg); furi_string_replace(updater->startup_arg, ANY_PATH(""), EXT_PATH(""));