fix delete txt

This commit is contained in:
gutosie
2021-11-05 09:19:13 +02:00
committed by GitHub
parent 0786e9f257
commit 120ca4b404

View File

@@ -823,6 +823,9 @@ def RemoveUnpackDirs():
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*/force_pulse4kmini_READ.ME; rm -r ' + getNeoLocation() + 'ImagesUpload/pulse4k*/unforce_pulse4kmini.txt')
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/pulse4k*') rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/pulse4k*')
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/unforce_*.txt'):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/unforce_*.txt')
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..."')