From 3fed32164db06d6e2efb48c0a1c942b9735ea795 Mon Sep 17 00:00:00 2001 From: gutosie Date: Fri, 9 Dec 2022 22:43:26 +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 24fe06d..6bceb90 100644 --- a/NeoBoot/extract.py +++ b/NeoBoot/extract.py @@ -1675,6 +1675,10 @@ def NEOBootExtract(source, target, ZipDelete, Nandsim): os.system('echo "Please wait. System installation dinobot w toku..."') cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/dinobot/u5; tar -jxf ' + getNeoLocation() + 'ImagesUpload/dinobot/u5/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1' rc = os.system(cmd) + elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/dinobot/u51'): + os.system('echo "Please wait. System installation dinobot w toku..."') + cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/dinobot/u51; tar -jxf ' + getNeoLocation() + 'ImagesUpload/dinobot/u51/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1' + rc = os.system(cmd) elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/dinobot/u53'): 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'