Update archive_scene_browser.c

This commit is contained in:
RogueMaster
2022-11-06 10:07:34 -05:00
parent f72578c4b7
commit bafe3dc3c6
@@ -74,14 +74,14 @@ static void archive_run_in_app(ArchiveBrowserView* browser, ArchiveFile_t* selec
strcpy(result, tmpType);
strcat(result, furi_string_get_cstr(selected->path));
status = loader_start(loader, "Applications", result);
} else if(strcmp(flipper_app_name[selected->type], "125 kHz RFID") == 0) {
char* tmpType = "/ext/apps/Main/lfrfid.fap¯";
char* result =
malloc(strlen(tmpType) + strlen(furi_string_get_cstr(selected->path)) + 1);
// } else if(strcmp(flipper_app_name[selected->type], "125 kHz RFID") == 0) {
// char* tmpType = "/ext/apps/Main/lfrfid.fap¯";
// char* result =
// malloc(strlen(tmpType) + strlen(furi_string_get_cstr(selected->path)) + 1);
strcpy(result, tmpType);
strcat(result, furi_string_get_cstr(selected->path));
status = loader_start(loader, "Applications", result);
// strcpy(result, tmpType);
// strcat(result, furi_string_get_cstr(selected->path));
// status = loader_start(loader, "Applications", result);
} else if(strcmp(flipper_app_name[selected->type], "Infrared") == 0) {
char* tmpType = "/ext/apps/Main/infrared.fap¯";
char* result =