Update extract.py

This commit is contained in:
gutosie
2022-12-13 21:39:01 +02:00
committed by GitHub
parent 607df833df
commit f68ea1db1e

View File

@@ -913,7 +913,7 @@ def NEOBootExtract(source, target, ZipDelete, Nandsim):
sourcefile4 = media + '/ImagesUpload/%s.gz' % source
#Instalacja *.tar.*
if not os.path.exists('/tmp/xz-gz-tar'):
if not os.path.exists('/tmp/xz-gz-tar') and getCPUtype() != 'ARMv7'::
fn = 'NewImage'
sourcelist = []
for fn in os.listdir('%sImagesUpload' % getNeoLocation()):
@@ -1803,7 +1803,7 @@ def NEOBootExtract(source, target, ZipDelete, Nandsim):
rc = os.system(cmd)
else:
os.system('echo "NeoBoot wykrył dłąd!!! Prawdopodobnie brak pliku instalacyjnego."')
os.system('echo "NeoBoot wykrył błąd!!! Prawdopodobnie brak pliku instalacyjnego."')
return