Update extract.py

This commit is contained in:
gutosie
2022-03-01 14:16:05 +02:00
committed by GitHub
parent b6110c3e19
commit ce6bc455b2

View File

@@ -848,7 +848,13 @@ def RemoveUnpackDirs():
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')
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/force_multibox_READ.ME')
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/force'):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/force')
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/rootfs.bin'):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/rootfs.bin')
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/splash.bin'):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/splash.bin')
def NEOBootExtract(source, target, ZipDelete, Nandsim):
RemoveUnpackDirs()