mirror of
https://github.com/platomav/BIOSUtilities.git
synced 2025-05-13 22:54:46 -04:00
BIOSUtilities v24.11.10
Re-written public attributes of Apple EFI ID Improved memory consumption for all utilities Adjusted README with consolidated requirements
This commit is contained in:
parent
29dabc7401
commit
35564f31b7
19 changed files with 252 additions and 198 deletions
|
@ -17,7 +17,7 @@ from typing import Any, Final
|
|||
|
||||
from pefile import PE
|
||||
|
||||
from biosutilities.common.paths import is_file, make_dirs, safe_name
|
||||
from biosutilities.common.paths import is_file_read, make_dirs, safe_name
|
||||
from biosutilities.common.executables import ms_pe, ms_pe_info
|
||||
from biosutilities.common.patterns import PAT_MICROSOFT_MZ, PAT_MICROSOFT_PE, PAT_PHOENIX_TDK
|
||||
from biosutilities.common.structs import CHAR, ctypes_struct, UINT32
|
||||
|
@ -189,7 +189,7 @@ class PhoenixTdkExtract(BIOSUtility):
|
|||
mod_file: str = os.path.join(self.extract_path, safe_name(mod_name))
|
||||
|
||||
# Account for potential duplicate file names
|
||||
if is_file(in_path=mod_file):
|
||||
if is_file_read(in_path=mod_file):
|
||||
mod_file += f'_{entry_index + 1:02d}'
|
||||
|
||||
# Save TDK Entry data to output file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue