NSAutoreleasePool *pool([[NSAutoreleasePool alloc] init]);
- if (!PatchLaunch(kCFCoreFoundationVersionNumber < 1200, false))
+ bool modern(kCFCoreFoundationVersionNumber > 1242);
+
+ if (!PatchLaunch(modern || kCFCoreFoundationVersionNumber < 1200, false))
return 1;
- if (!PatchInstall(false, false))
+ if (!PatchInstall(modern, false))
return 1;
[pool release];
package: all $(control)
sudo rm -rf _
+ mkdir -p _/Library/MobileSubstrate/DynamicLibraries
+ cp -a patcyh.plist _/Library/MobileSubstrate/DynamicLibraries
+ ln -s /usr/lib/libpatcyh.dylib _/Library/MobileSubstrate/DynamicLibraries/patcyh.dylib
mkdir -p _/usr/lib
cp -a $(library) _/usr/lib
mkdir -p _/DEBIAN