mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-03 12:45:47 +01:00
Update extract.py
This commit is contained in:
@@ -804,6 +804,8 @@ def RemoveUnpackDirs():
|
|||||||
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/bootargs.bin ' + getNeoLocation() + 'ImagesUpload/amiko')
|
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/bootargs.bin ' + getNeoLocation() + 'ImagesUpload/amiko')
|
||||||
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/fastboot.bin ' + getNeoLocation() + 'ImagesUpload/amiko')
|
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/fastboot.bin ' + getNeoLocation() + 'ImagesUpload/amiko')
|
||||||
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/amiko')
|
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/amiko')
|
||||||
|
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/gigablue/x1'):
|
||||||
|
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/gigablue')
|
||||||
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/gigablue'):
|
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/gigablue'):
|
||||||
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/usb_update.bin ' + getNeoLocation() + 'ImagesUpload/gigablue')
|
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/usb_update.bin ' + getNeoLocation() + 'ImagesUpload/gigablue')
|
||||||
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/apploader.bin ' + getNeoLocation() + 'ImagesUpload/gigablue')
|
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/apploader.bin ' + getNeoLocation() + 'ImagesUpload/gigablue')
|
||||||
@@ -1213,6 +1215,8 @@ def NEOBootExtract(source, target, ZipDelete):
|
|||||||
os.chdir('gigablue')
|
os.chdir('gigablue')
|
||||||
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/gigablue/quad'):
|
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/gigablue/quad'):
|
||||||
os.chdir('quad')
|
os.chdir('quad')
|
||||||
|
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/gigablue/x1'):
|
||||||
|
os.chdir('x1')
|
||||||
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/hd2400'):
|
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/hd2400'):
|
||||||
os.chdir('hd2400')
|
os.chdir('hd2400')
|
||||||
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/hd51'):
|
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/hd51'):
|
||||||
|
|||||||
Reference in New Issue
Block a user