mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-22 11:56:42 +00:00
Bugfix + add fs_extractBisFile (to scripts)
This commit is contained in:
parent
6551930233
commit
f95b6e399f
2 changed files with 15 additions and 0 deletions
|
@ -19,6 +19,9 @@ void fileexplorer(const char *startpath, int type){
|
|||
if (lastentry > 0 && lastentry == type)
|
||||
clipboardhelper = 0;
|
||||
|
||||
if (clipboardhelper & OPERATIONMOVE)
|
||||
clipboardhelper = 0;
|
||||
|
||||
lastentry = type;
|
||||
|
||||
fsreader_writecurpath(startpath);
|
||||
|
|
|
@ -493,6 +493,17 @@ int part_mmc_restorePart(){
|
|||
return mmcFlashFile(path, currentlyMounted);
|
||||
}
|
||||
|
||||
int part_fs_extractBisFile(){
|
||||
char *path, *outfolder;
|
||||
|
||||
if (parseStringInput(argv[0], &path))
|
||||
return -1;
|
||||
if (parseStringInput(argv[1], &outfolder))
|
||||
return -1;
|
||||
|
||||
return extract_bis_file(path, outfolder);
|
||||
}
|
||||
|
||||
str_fnc_struct functions[] = {
|
||||
{"printf", part_printf, 1},
|
||||
{"printInt", part_print_int, 1},
|
||||
|
@ -519,6 +530,7 @@ str_fnc_struct functions[] = {
|
|||
{"fs_closeDir", part_fs_CloseDir, 0},
|
||||
{"fs_readDir", part_fs_ReadDir, 0},
|
||||
{"fs_combinePath", part_fs_combinePath, 3},
|
||||
{"fs_extractBisFile", part_fs_extractBisFile, 2},
|
||||
{"mmc_connect", part_ConnectMMC, 1},
|
||||
{"mmc_mount", part_MountMMC, 1},
|
||||
{"mmc_dumpPart", part_mmc_dumpPart, 2},
|
||||
|
|
Loading…
Reference in a new issue