mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
sys_patch: Fix typos
Thanks @perez987
This commit is contained in:
@@ -50,7 +50,7 @@ class kernel_debug_kit_handler:
|
||||
date = variant["released"]
|
||||
|
||||
if version != host_version:
|
||||
# Check if this is a secuirty update (ie. 13.0.1)
|
||||
# Check if this is a security update (ie. 13.0.1)
|
||||
version_split = version.split(".")
|
||||
host_version_split = host_version.split(".")
|
||||
if len(version_split) >= 2 and len(host_version_split) >= 2:
|
||||
|
||||
@@ -471,7 +471,7 @@ class PatchSysVolume:
|
||||
if "Processes" in required_patches[patch]:
|
||||
for process in required_patches[patch]["Processes"]:
|
||||
# Some processes need sudo, however we cannot directly call sudo in some scenarios
|
||||
# Instead, call elevated funtion is string's boolean is True
|
||||
# Instead, call elevated funtion if string's boolean is True
|
||||
if required_patches[patch]["Processes"][process] is True:
|
||||
print(f"- Running Process as Root:\n{process}")
|
||||
utilities.process_status(utilities.elevated(process.split(" "), stdout=subprocess.PIPE, stderr=subprocess.STDOUT))
|
||||
|
||||
Reference in New Issue
Block a user