refactor: move orion check out of loop

This commit is contained in:
zx
2024-11-02 10:42:47 -04:00
parent 0808fd8c1b
commit 31169d6c65
2 changed files with 6 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ class Executable:
# CydiaSubstrate.framework, libsubstrate.dylib, EVEN CydiaSubstrate.dylib
# AND PROBABLY EVEN MORE !!!! IT'S CRAZY.
common = {
"ubstrate.": {
"substrate.": {
"name": "CydiaSubstrate.framework",
"path": "@rpath/CydiaSubstrate.framework/CydiaSubstrate"
},
@@ -93,11 +93,6 @@ class Executable:
needed.add(common)
# orion has a *weak* dependency to substrate,
# but will still crash without it. nice !!!!!!!!!!!
if common == "orion.":
needed.add("ubstrate.")
def fix_dependencies(self, tweaks: dict[str, str]) -> None:
for dep in self.get_dependencies():
for cname in tweaks: