Update extract.py

This commit is contained in:
gutosie
2022-03-01 11:12:47 +02:00
committed by GitHub
parent a811690963
commit d7447de630

View File

@@ -757,10 +757,8 @@ def RemoveUnpackDirs():
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/osmini')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/xp1000 '):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/xp1000 ')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/et5x00'):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/et5x00 ')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/dinobot '):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/dinobot ')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/e2/update'):
@@ -847,6 +845,8 @@ def RemoveUnpackDirs():
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/imageversion')
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/kernel.bin'):
rc = os.system('rm -rf ' + getNeoLocation() + 'ImagesUpload/kernel.bin')
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/force_multibox_READ.ME'):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/force_multibox_READ.ME')
def NEOBootExtract(source, target, ZipDelete, Nandsim):
RemoveUnpackDirs()