mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-17 21:24:40 +10:00
kdk_handler.py: Add todo for file size check
This commit is contained in:
@@ -564,6 +564,8 @@ class KernelDebugKitUtilities:
|
|||||||
logging.info(f"- Installing KDK package: {kdk_path.name}")
|
logging.info(f"- Installing KDK package: {kdk_path.name}")
|
||||||
logging.info(f" - This may take a while...")
|
logging.info(f" - This may take a while...")
|
||||||
|
|
||||||
|
# TODO: Check whether enough disk space is available
|
||||||
|
|
||||||
result = utilities.elevated(["installer", "-pkg", kdk_path, "-target", "/"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
result = utilities.elevated(["installer", "-pkg", kdk_path, "-target", "/"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||||
if result.returncode != 0:
|
if result.returncode != 0:
|
||||||
logging.info("- Failed to install KDK:")
|
logging.info("- Failed to install KDK:")
|
||||||
|
|||||||
Reference in New Issue
Block a user