File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 11- 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 {
3535 try FileManager . default. createDirectory ( at: extractedURL, withIntermediateDirectories: true )
3636 try FileManager . default. unzipItem ( at: assetURL, to: extractedURL)
3737
38- let extractedContents = try FileManager . default
38+ let extractedItems = try FileManager . default
3939 . contentsOfDirectory ( at: extractedURL, includingPropertiesForKeys: nil )
4040 . filter { Self . allowedPathExtensions. contains ( $0. pathExtension. lowercased ( ) ) }
4141
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)
4349 continue
4450 }
4551
You can’t perform that action at this time.
0 commit comments