mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +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:
|
def on_nightly(self, event: wx.Event) -> None:
|
||||||
# Ask prompt for which branch
|
# Ask prompt for which branch
|
||||||
branches = ["main"]
|
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")
|
result = network_handler.NetworkUtilities().get("https://api.github.com/repos/dortania/OpenCore-Legacy-Patcher/branches")
|
||||||
if result is not None:
|
if result is not None:
|
||||||
result = result.json()
|
result = result.json()
|
||||||
|
|||||||
Reference in New Issue
Block a user