Skip to content

Commit

Permalink
bugfix: ignore broken weak links
Browse files Browse the repository at this point in the history
Signed-off-by: Lessica <[email protected]>
  • Loading branch information
Lessica committed Jan 11, 2025
1 parent 7a8cecb commit 74bceaf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion TrollFools/InjectorV3+MachO.swift
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ extension InjectorV3 {
resolvedName = resolvedName
.replacingOccurrences(of: "@rpath/", with: frameworksDirectoryURL.path + "/")

return URL(fileURLWithPath: resolvedName)
let resolvedURL = URL(fileURLWithPath: resolvedName)
guard FileManager.default.fileExists(atPath: resolvedURL.path) else {
return nil
}

return resolvedURL
}
}
2 changes: 1 addition & 1 deletion TrollFools/Version.Debug.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
// https://help.apple.com/xcode/#/dev745c5c974

DEBUG_VERSION = 2.9
DEBUG_BUILD_NUMBER = 202501092
DEBUG_BUILD_NUMBER = 202501121
2 changes: 1 addition & 1 deletion TrollFools/Version.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
// https://help.apple.com/xcode/#/dev745c5c974

VERSION = 2.9
BUILD_NUMBER = 20
BUILD_NUMBER = 21
2 changes: 1 addition & 1 deletion layout/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: wiki.qaq.trollfools
Name: TrollFools
Version: 2.9-20
Version: 2.9-21
Section: Applications
Depends: firmware (>= 14.0)
Architecture: iphoneos-arm
Expand Down

0 comments on commit 74bceaf

Please sign in to comment.