mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 12:48:18 +10:00
Settings: Default to binary source
This commit is contained in:
@@ -1188,6 +1188,8 @@ Hardware Information:
|
||||
def on_nightly(self, event: wx.Event) -> None:
|
||||
# Ask prompt for which branch
|
||||
branches = ["main"]
|
||||
if self.constants.commit_info[0] not in ["Running from source", "Built from source"]:
|
||||
branches = [self.constants.commit_info[0].split("/")[-1]]
|
||||
result = network_handler.NetworkUtilities().get("https://api.github.com/repos/dortania/OpenCore-Legacy-Patcher/branches")
|
||||
if result is not None:
|
||||
result = result.json()
|
||||
|
||||
Reference in New Issue
Block a user