mirror of
https://github.com/platomav/BIOSUtilities.git
synced 2025-05-14 07:04:48 -04:00
BIOSUtilities v24.10.09
Added Apple EFI EFI Image Identifier new argument -q Improved Apple EFI EFI Image Identifier detection flow Improved Apple EFI Package Extractor file parsing flow Improved file vs link detection and read access control Improved common switches handling of 7-Zip decompressor Improved non-PATH external executable dependencies names Fixed requirement instruction misalignments at the README
This commit is contained in:
parent
bbf0008384
commit
b174ce40e6
18 changed files with 322 additions and 288 deletions
|
@ -17,7 +17,7 @@ from typing import Any, Final
|
|||
|
||||
from pefile import PE
|
||||
|
||||
from biosutilities.common.paths import make_dirs, safe_name
|
||||
from biosutilities.common.paths import is_file, 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
|
||||
|
@ -192,7 +192,7 @@ class PhoenixTdkExtract(BIOSUtility):
|
|||
mod_file: str = os.path.join(extract_path, safe_name(mod_name))
|
||||
|
||||
# Account for potential duplicate file names
|
||||
if os.path.isfile(path=mod_file):
|
||||
if is_file(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