mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-16 20:09:44 -07:00
fapssss
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user