This commit is contained in:
RogueMaster
2022-11-04 03:31:01 -04:00
parent 6690df9971
commit bfde28cb38
4 changed files with 33 additions and 1 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ App(
# "ibutton",
"ibutton_loader",
"infrared",
"lfrfid",
# "lfrfid",
"lfrfid_loader",
"nfc",
"subghz",
#"bad_usb",
@@ -71,6 +71,14 @@ static void archive_run_in_app(ArchiveBrowserView* browser, ArchiveFile_t* selec
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);
} 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);
@@ -0,0 +1,14 @@
App(
appid="lfrfid_loader",
name="125 kHz RFID",
apptype=FlipperAppType.APP,
entry_point="lfrfid_loader_app",
requires=[
"gui",
"dialogs",
],
stack_size=int(2 * 1024),
icon="A_125khz_14",
order=80,
link="/ext/apps/Main/lfrfid.fap",
)
@@ -0,0 +1,9 @@
#include <applications/services/loader/loader_i.h>
#define TAG "lfrfid_loader_app"
int32_t lfrfid_loader_app(void* p) {
UNUSED(p);
return 0;
}