mirror of
https://github.com/NohamR/pyzule-rw.git
synced 2026-10-11 02:49:40 +00:00
refactor: move orion check out of loop
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user