Update extract.py

This commit is contained in:
gutosie
2024-01-13 14:17:58 +02:00
committed by GitHub
parent 1d0a81a85f
commit c65ff98975

View File

@@ -864,6 +864,8 @@ def RemoveUnpackDirs():
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h11'):
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/force_h11_READ.ME ' + getNeoLocation() + 'ImagesUpload/h11; mv ' + getNeoLocation() + 'ImagesUpload/unforce_h11.txt ' + getNeoLocation() + 'ImagesUpload/h11')
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h11')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h8'):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h8')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/uclan'):
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/usb_update.bin'):
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/usb_update.bin ' + getNeoLocation() + 'ImagesUpload/uclan')