Update extract.py

This commit is contained in:
gutosie
2022-12-09 22:43:26 +02:00
committed by GitHub
parent 5e8a848f4c
commit 3fed32164d

View File

@@ -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'