BIOSUtilities v25.02.23

Fixed AMI PFAT Extract file naming of "ALL" and "OOB"
Upgraded dependency "dissect.util" from 3.18 to 3.19
This commit is contained in:
Plato Mavropoulos 2025-02-24 00:42:26 +02:00
parent 5f9ea8e846
commit 40553b3244
9 changed files with 26 additions and 25 deletions

View file

@ -2,7 +2,7 @@
# coding=utf-8
"""
Copyright (C) 2022-2024 Plato Mavropoulos
Copyright (C) 2022-2025 Plato Mavropoulos
"""
import os
@ -99,9 +99,7 @@ def path_name(in_path: str, limit: bool = False) -> str:
comp_name: str = PurePath(in_path).name
is_win: bool = system_platform()[1]
if limit and is_win:
if limit and system_platform()[1]:
comp_name = comp_name[:MAX_WIN_COMP_LEN - len(extract_suffix())]
return comp_name