mirror of
https://github.com/NohamR/Tweaks.git
synced 2026-05-25 12:27:11 +00:00
Add TextasticPro tweak, assets, and update README
This commit is contained in:
32
TextasticPro/Tweak.x
Normal file
32
TextasticPro/Tweak.x
Normal file
@@ -0,0 +1,32 @@
|
||||
#import <substrate.h>
|
||||
#import <mach-o/dyld.h>
|
||||
#import <string.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
%hook TextasticStore
|
||||
- (bool)textasticProActive {
|
||||
return TRUE;
|
||||
}
|
||||
- (bool)isVPPReceipt {
|
||||
return FALSE;
|
||||
}
|
||||
- (bool)isLegacyPurchase {
|
||||
return TRUE;
|
||||
}
|
||||
- (bool)isLegacyPurchaseOrProActive {
|
||||
return TRUE;
|
||||
}
|
||||
- (bool)isLegacyPurchaseOrProActiveOrTestFlight {
|
||||
return TRUE;
|
||||
}
|
||||
%end
|
||||
|
||||
// iOS 16 Crash Fix
|
||||
%hook CKContainer
|
||||
+ (id)defaultContainer {
|
||||
return nil;
|
||||
}
|
||||
+ (id)containerWithIdentifier:(id) arg1 {
|
||||
return nil;
|
||||
}
|
||||
%end
|
||||
Reference in New Issue
Block a user