mirror of
https://github.com/platomav/BIOSUtilities.git
synced 2025-05-12 22:26:13 -04:00
Added Panasonic BIOS Package Extractor v2.0_a7
New processes to better handle PE files Various common package fixes and improvements
This commit is contained in:
parent
f5905ec662
commit
fc73921967
12 changed files with 400 additions and 35 deletions
|
@ -7,7 +7,7 @@ VAIO Packaging Manager Extractor
|
|||
Copyright (C) 2019-2022 Plato Mavropoulos
|
||||
"""
|
||||
|
||||
TITLE = 'VAIO Packaging Manager Extractor v3.0_a4'
|
||||
TITLE = 'VAIO Packaging Manager Extractor v3.0_a5'
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
@ -53,7 +53,7 @@ def vaio_cabinet(name, buffer, extract_path, padding=0):
|
|||
|
||||
with open(cab_path, 'wb') as cab_file: cab_file.write(cab_data) # Create temporary CAB archive
|
||||
|
||||
if is_szip_supported(cab_path, padding + 4):
|
||||
if is_szip_supported(cab_path, padding + 8):
|
||||
if szip_decompress(cab_path, extract_path, 'CAB', padding + 8) == 0:
|
||||
os.remove(cab_path) # Successful extraction, delete temporary CAB archive
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue