mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-12-26 03:16:03 +00:00
forgot to push
This commit is contained in:
parent
6e2a5f0523
commit
a09b720790
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,8 @@ void RunScript(char *path, FSEntry_t entry){
|
|||
char *thing = CombinePaths(path, entry.name);
|
||||
u32 size;
|
||||
char *script = sd_file_read(thing, &size);
|
||||
TConf.scriptCWD = thing;
|
||||
free(thing);
|
||||
TConf.scriptCWD = path;
|
||||
|
||||
if (!script)
|
||||
return;
|
||||
|
@ -110,7 +111,6 @@ void RunScript(char *path, FSEntry_t entry){
|
|||
exitFunction(ret.main.operations.data, ret.main.operations.count);
|
||||
vecFree(ret.staticVarHolder);
|
||||
vecFree(ret.main.operations);
|
||||
free(thing);
|
||||
}
|
||||
|
||||
void RenameFile(char *path, FSEntry_t entry){
|
||||
|
|
Loading…
Reference in a new issue