constants.py: Remove unused variables

This commit is contained in:
Mykola Grymalyuk
2023-03-16 19:48:38 -06:00
parent 7fe0432a47
commit fd2f58da84
2 changed files with 5 additions and 11 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
- Support local loose matching when no network connection is available - Support local loose matching when no network connection is available
- Implement pkg receipt verification to validate integrity of KDKs - Implement pkg receipt verification to validate integrity of KDKs
- Implemented logging framework usage for more reliable logging - Implemented logging framework usage for more reliable logging
- Logs are stored under `~/OpenCore-Patcher.log` - Logs are stored under `~/Library/Logs/OpenCore-Patcher.log`
- Subsequent runs are appended to the log, allowing for easy debugging - Subsequent runs are appended to the log, allowing for easy debugging
- Implemented new network_handler.py module - Implemented new network_handler.py module
- Allows for more reliable network calls and downloads - Allows for more reliable network calls and downloads
-6
View File
@@ -18,11 +18,9 @@ class Constants:
# URLs # URLs
self.url_patcher_support_pkg: str = "https://github.com/dortania/PatcherSupportPkg/releases/download/" self.url_patcher_support_pkg: str = "https://github.com/dortania/PatcherSupportPkg/releases/download/"
self.nightly_url_patcher_support_pkg: str = "https://nightly.link/dortania/PatcherSupportPkg/workflows/build/master/"
self.discord_link: str = "https://discord.gg/rqdPgH8xSN" self.discord_link: str = "https://discord.gg/rqdPgH8xSN"
self.guide_link: str = "https://dortania.github.io/OpenCore-Legacy-Patcher/" self.guide_link: str = "https://dortania.github.io/OpenCore-Legacy-Patcher/"
self.repo_link: str = "https://github.com/dortania/OpenCore-Legacy-Patcher" self.repo_link: str = "https://github.com/dortania/OpenCore-Legacy-Patcher"
self.repo_link_latest: str = f"{self.repo_link}/releases/tag/{self.patcher_version}"
self.installer_pkg_url: str = f"{self.repo_link}/releases/download/{self.patcher_version}/AutoPkg-Assets.pkg" self.installer_pkg_url: str = f"{self.repo_link}/releases/download/{self.patcher_version}/AutoPkg-Assets.pkg"
self.installer_pkg_url_nightly: str = "http://nightly.link/dortania/OpenCore-Legacy-Patcher/workflows/build-app-wxpython/main/AutoPkg-Assets.pkg.zip" self.installer_pkg_url_nightly: str = "http://nightly.link/dortania/OpenCore-Legacy-Patcher/workflows/build-app-wxpython/main/AutoPkg-Assets.pkg.zip"
@@ -289,10 +287,6 @@ class Constants:
def link_rate_driver_path(self): def link_rate_driver_path(self):
return self.payload_path / Path("Drivers/FixPCIeLinkRate.efi") return self.payload_path / Path("Drivers/FixPCIeLinkRate.efi")
@property
def list_txt_path(self):
return self.payload_path / Path("List.txt")
@property @property
def installer_sh_path(self): def installer_sh_path(self):
return self.payload_path / Path("Installer.sh") return self.payload_path / Path("Installer.sh")