kabiroberai / theos-jailed

A Theos module to develop jailed tweaks for iOS 8 and up
Other
365 stars 64 forks source link

Dynamically determine Logos generator fallback #84

Closed L1ghtmann closed 7 months ago

L1ghtmann commented 10 months ago

Previously, the generator defaulting to substrate would result in substrate being linked due to Theos' generator check. This is problematic for users using non-substrate hooking techniques, such as fishhook. Common.mk now checks for the presence of Logos files and adjusts the generator fallback accordingly -- substrate if .x* is present else internal.

Note: this will become unnecessary if/when theos/logos#110 is merged, which will allow us to remove Theos' handling of injection lib linking.

L1ghtmann commented 7 months ago

Closing as the aforementioned pr has been merged.