mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 02:08:36 -07:00
-8kb DFU, why wasn't this done to beging with?
This commit is contained in:
@@ -37,7 +37,7 @@ const char* archive_get_flipper_app_name(ArchiveFileTypeEnum file_type) {
|
|||||||
case ArchiveFileTypeUpdateManifest:
|
case ArchiveFileTypeUpdateManifest:
|
||||||
return "UpdaterApp";
|
return "UpdaterApp";
|
||||||
case ArchiveFileTypeJS:
|
case ArchiveFileTypeJS:
|
||||||
return "JS Runner";
|
return EXT_PATH("apps/assets/js_app.fap");
|
||||||
default:
|
default:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#define TAG "LoaderApplications"
|
#define TAG "LoaderApplications"
|
||||||
|
|
||||||
#define JS_RUNNER_APP "JS Runner"
|
#define JS_RUNNER_APP EXT_PATH("apps/assets/js_app.fap")
|
||||||
|
|
||||||
struct LoaderApplications {
|
struct LoaderApplications {
|
||||||
FuriThread* thread;
|
FuriThread* thread;
|
||||||
|
|||||||
@@ -1,11 +1,18 @@
|
|||||||
App(
|
App(
|
||||||
appid="js_app",
|
appid="js_app",
|
||||||
name="JS Runner",
|
name="JS Runner",
|
||||||
apptype=FlipperAppType.SYSTEM,
|
apptype=FlipperAppType.EXTERNAL,
|
||||||
entry_point="js_app",
|
entry_point="js_app",
|
||||||
|
sources=[
|
||||||
|
"*.c*",
|
||||||
|
"!modules",
|
||||||
|
"modules/js_flipper.c",
|
||||||
|
],
|
||||||
stack_size=2 * 1024,
|
stack_size=2 * 1024,
|
||||||
resources="examples",
|
resources="examples",
|
||||||
order=0,
|
order=0,
|
||||||
|
fap_icon="icon.png",
|
||||||
|
fap_category="assets",
|
||||||
)
|
)
|
||||||
|
|
||||||
App(
|
App(
|
||||||
|
|||||||
@@ -2553,7 +2553,7 @@ Function,+,mjs_create,mjs*,void*
|
|||||||
Function,+,mjs_dataview_get_buf,mjs_val_t,"mjs*, mjs_val_t"
|
Function,+,mjs_dataview_get_buf,mjs_val_t,"mjs*, mjs_val_t"
|
||||||
Function,+,mjs_del,int,"mjs*, mjs_val_t, const char*, size_t"
|
Function,+,mjs_del,int,"mjs*, mjs_val_t, const char*, size_t"
|
||||||
Function,+,mjs_destroy,void,mjs*
|
Function,+,mjs_destroy,void,mjs*
|
||||||
Function,-,mjs_disasm_all,void,"mjs*, MjsPrintCallback, void*"
|
Function,+,mjs_disasm_all,void,"mjs*, MjsPrintCallback, void*"
|
||||||
Function,+,mjs_disown,int,"mjs*, mjs_val_t*"
|
Function,+,mjs_disown,int,"mjs*, mjs_val_t*"
|
||||||
Function,-,mjs_dump,void,"mjs*, int, MjsPrintCallback, void*"
|
Function,-,mjs_dump,void,"mjs*, int, MjsPrintCallback, void*"
|
||||||
Function,+,mjs_exec,mjs_err_t,"mjs*, const char*, mjs_val_t*"
|
Function,+,mjs_exec,mjs_err_t,"mjs*, const char*, mjs_val_t*"
|
||||||
|
|||||||
|
Reference in New Issue
Block a user