Update extract.py

This commit is contained in:
gutosie
2022-03-07 09:05:36 +02:00
committed by GitHub
parent b26ff0e693
commit c21dad3148

View File

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