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 committed 2021-01-10 00:10:28 +01:00
1 parent 5485f5ca06
commit 3f80693d9e
8 files changed
+18 -9

No files matched your search

+3 -1
View File
@@ -22,4 +22,6 @@ typedef struct {
};
u16 sizeUnion;
};
} FSEntry_t;
} FSEntry_t;
#define newFSEntry(filename) (FSEntry_t) {.name = filename}
+1 -1
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))));
+2 -1
View File
@@ -3,4 +3,5 @@
typedef void (*fileMenuPath)(char *path, FSEntry_t entry);
void FileMenu(char *path, FSEntry_t entry);
void FileMenu(char *path, FSEntry_t entry);
void RunScript(char *path, FSEntry_t entry);