Skip to content

Commit 5ea7900

Browse files
committed
clean-up a comment and fix url bug
1 parent 1e643ca commit 5ea7900

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

oclp_r/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __init__(self) -> None:
3232
self.discord_link: str = "https://discord.gg/rqdPgH8xSN"
3333
self.guide_link: str = "https://dortania.github.io/OpenCore-Legacy-Patcher/"
3434
self.repo_link: str = "https://github.com/hackdoc/OCLP-R/releases/"
35-
self.installer_pkg_url: str = f"{self.repo_link}/releases/download/{self.patcher_version}/AutoPkg-Assets.pkg"
35+
self.installer_pkg_url: str = f"{self.repo_link}/download/{self.patcher_version}/AutoPkg-Assets.pkg"
3636
self.installer_pkg_url_nightly: str = "http://nightly.link/hackdoc/OCLP-R/workflows/build-app-wxpython/main/AutoPkg-Assets.pkg.zip"
3737
self.user_download_file: str = f"/Users/{getpass.getuser()}/Downloads"
3838
# OpenCore Versioning

oclp_r/support/logging_handler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ def custom_excepthook(type, value, tb) -> None:
211211

212212
# Ask user if they want to send crash report
213213
try:
214-
#result = applescript.AppleScript(self.trans['display dialog "{error_msg}" with title "OCLP-R ({self.constants.patcher_version})" buttons {{"Yes", "No"}} default button "Yes" with icon caution'].format(error_msg,self.constants.patcher_version)).run()
215214
result=applescript.AppleScript(f'display dialog "{error_msg}" with title "OCLP-R ({self.constants.patcher_version})" buttons {{"Yes", "No"}} default button "Yes" with icon caution').run()
216215
except Exception as e:
217216
logging.error(self.trans["Failed to display crash report dialog: {0}"].format(e))

0 commit comments

Comments
 (0)