From 9edf2f0d5b030db06e03f705df4a186eebbf76df Mon Sep 17 00:00:00 2001 From: gutosie Date: Fri, 23 Dec 2022 20:58:57 +0200 Subject: [PATCH] Update extract.py --- NeoBoot/extract.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NeoBoot/extract.py b/NeoBoot/extract.py index bcbd14d..e3a3b45 100644 --- a/NeoBoot/extract.py +++ b/NeoBoot/extract.py @@ -1697,6 +1697,10 @@ def NEOBootExtract(source, target, ZipDelete, Nandsim): os.system('echo "Please wait. System installation dinobot w toku..."') cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/dinobot/u53; tar -jxf ' + getNeoLocation() + 'ImagesUpload/dinobot/u53/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1' rc = os.system(cmd) + elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/dinobot/u55'): + os.system('echo "Please wait. System installation dinobot w toku..."') + cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/dinobot/uu55; tar -jxf ' + getNeoLocation() + 'ImagesUpload/dinobot/u55/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1' + rc = os.system(cmd) elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/dinobot/u5pvr'): os.system('echo "Please wait. System installation dinobot w toku..."') cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/dinobot/u5pvr; tar -jxf ' + getNeoLocation() + 'ImagesUpload/dinobot/u5pvr/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'