Save bytes, add screenshots into main and more

- Also run script on bootup if a script called startup.te is found on the root of the sd
- Saved bytes by just disabling making exfat partitions, lol
This commit is contained in:
suchmememanyskill
2021-01-10 00:10:28 +01:00
parent 5485f5ca06
commit 3f80693d9e
8 changed files with 18 additions and 9 deletions

View File

@@ -83,7 +83,7 @@ void RunScript(char *path, FSEntry_t entry){
gfx_clearscreen();
scriptCtx_t ctx = createScriptCtx();
ctx.script = runLexar(script, size);
ctx.script = runLexer(script, size);
free(script);
dictVectorAdd(&ctx.varDict, newDict(CpyStr("_CWD"), (newVar(StringType, 0, .stringType = path))));