mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 06:10:00 +10:00
sys_patch.py: Avoid prompts if kext has already been accepted
This commit is contained in:
+3
-1
@@ -49,7 +49,9 @@ class OpenCoreLegacyPatcher:
|
||||
|
||||
# Now that we have commit info, update nightly link
|
||||
if self.constants.commit_info[0] != "Running from source":
|
||||
self.constants.installer_pkg_url_nightly = self.constants.installer_pkg_url_nightly.replace("main", self.constants.commit_info[0])
|
||||
branch = self.constants.commit_info[0]
|
||||
branch = branch.replace("refs/heads/", "")
|
||||
self.constants.installer_pkg_url_nightly = self.constants.installer_pkg_url_nightly.replace("main", branch)
|
||||
|
||||
defaults.generate_defaults.probe(self.computer.real_model, True, self.constants)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user