Update extract.py

This commit is contained in:
gutosie
2021-10-10 19:11:21 +03:00
committed by GitHub
parent c4efde0335
commit 0786e9f257

View File

@@ -819,9 +819,10 @@ def RemoveUnpackDirs():
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/et10000'): elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/et10000'):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/et10000') rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/et10000')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/pulse4k*'): elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/pulse4k*'):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/pulse4k*') if os.path.exists('' + getNeoLocation() + 'ImagesUpload/pulse4k*/force_pulse4kmini_READ.ME'):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/pulse4k*/force_pulse4kmini_READ.ME; rm -r ' + getNeoLocation() + 'ImagesUpload/pulse4k*/unforce_pulse4kmini.txt')
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/pulse4k*')
def NEOBootExtract(source, target, ZipDelete): def NEOBootExtract(source, target, ZipDelete):
RemoveUnpackDirs() RemoveUnpackDirs()
os.system('echo "Press green to hide Console or red to abort the installation\nInstallation started:"; date +%T;echo "Extracting the installation file..."') os.system('echo "Press green to hide Console or red to abort the installation\nInstallation started:"; date +%T;echo "Extracting the installation file..."')