Added Apple EFI Image Identifier v2.0_a3

Fixed argparse lock of input files
This commit is contained in:
platomav 2022-08-15 18:29:58 +03:00
parent 48562b0f68
commit c144ad804c
5 changed files with 283 additions and 5 deletions

View file

@ -5,6 +5,9 @@
Copyright (C) 2022 Plato Mavropoulos
"""
from common.path_ops import project_root, safe_path
from common.system import get_os_ver
# https://github.com/allowitsme/big-tool by Dmitry Frolov
# https://github.com/platomav/BGScriptTool by Plato Mavropoulos
def get_bgs_tool():
@ -14,3 +17,15 @@ def get_bgs_tool():
BigScript = None
return BigScript
# Get UEFIFind path
def get_uefifind_path():
exec_name = f'UEFIFind{".exe" if get_os_ver()[1] else ""}'
return safe_path(project_root(), ['external',exec_name])
# Get UEFIExtract path
def get_uefiextract_path():
exec_name = f'UEFIExtract{".exe" if get_os_ver()[1] else ""}'
return safe_path(project_root(), ['external',exec_name])