File tree 2 files changed +12
-3
lines changed 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1
1
- Re-write the injector entirely to be more modular and easier to maintain.
2
- - Speed up the injector by choosing a smaller framework to inject into.
2
+ - Speed up the injector by:
3
+ - Choose a smaller framework to inject into.
4
+ - Skip Mach-Os with ** cryptid > 0**
5
+ - Update [ ChOma] ( https://github.com/opa334/ChOma/tree/61acfba55695c8f3c6607dd0be933aa104eb9531 ) to its latest commit.
Original file line number Diff line number Diff line change @@ -35,11 +35,17 @@ extension InjectorV3 {
35
35
try FileManager . default. createDirectory ( at: extractedURL, withIntermediateDirectories: true )
36
36
try FileManager . default. unzipItem ( at: assetURL, to: extractedURL)
37
37
38
- let extractedContents = try FileManager . default
38
+ let extractedItems = try FileManager . default
39
39
. contentsOfDirectory ( at: extractedURL, includingPropertiesForKeys: nil )
40
40
. filter { Self . allowedPathExtensions. contains ( $0. pathExtension. lowercased ( ) ) }
41
41
42
- preparedAssetURLs. append ( contentsOf: extractedContents)
42
+ for extractedItem in extractedItems {
43
+ if checkIsBundle ( extractedItem) {
44
+ urlsToMarkAsInjected. append ( extractedItem)
45
+ }
46
+ }
47
+
48
+ preparedAssetURLs. append ( contentsOf: extractedItems)
43
49
continue
44
50
}
45
51
You can’t perform that action at this time.
0 commit comments