sys_patch_auto.py: Fix misc typos

This commit is contained in:
Mykola Grymalyuk
2022-07-16 14:50:20 -06:00
parent 579c7c9cbb
commit cd14354f86

View File

@@ -193,7 +193,7 @@ class AutomaticSysPatch:
utilities.process_status(utilities.elevated(["cp", "-R", path, "/Library/Application Support/Dortania/"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT))
if not Path("/Library/Application Support/Dortania/OpenCore-Patcher.app").exists():
# Sometimes the binary the user launches maye have a suffix (ie. OpenCore-Patcher 3.app)
# Sometimes the binary the user launches may have a suffix (ie. OpenCore-Patcher 3.app)
# We'll want to rename it to OpenCore-Patcher.app
path = path.split("/")[-1]
print(f"- Renaming {path} to OpenCore-Patcher.app")