Skip to content

Commit 74bceaf

Browse files
committed
bugfix: ignore broken weak links
Signed-off-by: Lessica <82flex@gmail.com>
1 parent 7a8cecb commit 74bceaf

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

TrollFools/InjectorV3+MachO.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,11 @@ extension InjectorV3 {
165165
resolvedName = resolvedName
166166
.replacingOccurrences(of: "@rpath/", with: frameworksDirectoryURL.path + "/")
167167

168-
return URL(fileURLWithPath: resolvedName)
168+
let resolvedURL = URL(fileURLWithPath: resolvedName)
169+
guard FileManager.default.fileExists(atPath: resolvedURL.path) else {
170+
return nil
171+
}
172+
173+
return resolvedURL
169174
}
170175
}

TrollFools/Version.Debug.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
// https://help.apple.com/xcode/#/dev745c5c974
1010

1111
DEBUG_VERSION = 2.9
12-
DEBUG_BUILD_NUMBER = 202501092
12+
DEBUG_BUILD_NUMBER = 202501121

TrollFools/Version.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
// https://help.apple.com/xcode/#/dev745c5c974
1010

1111
VERSION = 2.9
12-
BUILD_NUMBER = 20
12+
BUILD_NUMBER = 21

layout/DEBIAN/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: wiki.qaq.trollfools
22
Name: TrollFools
3-
Version: 2.9-20
3+
Version: 2.9-21
44
Section: Applications
55
Depends: firmware (>= 14.0)
66
Architecture: iphoneos-arm

0 commit comments

Comments
 (0)