-8kb DFU, why wasn't this done to beging with?

This commit is contained in:
Willy-JL
2024-02-12 20:41:52 +00:00
parent c01f0831d7
commit 88d51a31f0
4 changed files with 11 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ const char* archive_get_flipper_app_name(ArchiveFileTypeEnum file_type) {
case ArchiveFileTypeUpdateManifest:
return "UpdaterApp";
case ArchiveFileTypeJS:
return "JS Runner";
return EXT_PATH("apps/assets/js_app.fap");
default:
return NULL;
}

View File

@@ -11,7 +11,7 @@
#define TAG "LoaderApplications"
#define JS_RUNNER_APP "JS Runner"
#define JS_RUNNER_APP EXT_PATH("apps/assets/js_app.fap")
struct LoaderApplications {
FuriThread* thread;

View File

@@ -1,11 +1,18 @@
App(
appid="js_app",
name="JS Runner",
apptype=FlipperAppType.SYSTEM,
apptype=FlipperAppType.EXTERNAL,
entry_point="js_app",
sources=[
"*.c*",
"!modules",
"modules/js_flipper.c",
],
stack_size=2 * 1024,
resources="examples",
order=0,
fap_icon="icon.png",
fap_category="assets",
)
App(