mirror of
https://github.com/NohamR/Tweaks.git
synced 2026-05-25 12:27:11 +00:00
Compare commits
3 Commits
1.0.0
...
ServerCatP
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
90009b8956 | ||
|
|
a4907a5024 | ||
|
|
b79c4e7602 |
@@ -5,9 +5,10 @@ iOS tweaks built with [Theos](https://theos.dev), injected into IPAs via [cyan](
|
|||||||
## Tweaks
|
## Tweaks
|
||||||
|
|
||||||
| Tweak | App | Target |
|
| Tweak | App | Target |
|
||||||
| ----------------------------------------------- | ---------------- | ------- |
|
| ------------------------------------------------------- | ---------------- | ------- |
|
||||||
| [ServerCatPremium](ServerCatPremium/index.md) | ServerCat 1.30.0 | iOS 17+ |
|
| [ServerCatPremium](ServerCatPremium/index.md) | ServerCat 1.30.0 | iOS 17+ |
|
||||||
| [ServerCatPremium (legacy)](ServerCatPremium_/index.md) | ServerCat 1.6.4 | iOS 15 |
|
| [ServerCatPremium (legacy)](ServerCatPremium_/index.md) | ServerCat 1.6.4 | iOS 15 |
|
||||||
|
| [TextasticPro](TextasticPro/index.md) | Textastic 10.9.2 | iOS 18+ |
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,9 @@
|
|||||||
#define IDA_BASE 0x100000000
|
#define IDA_BASE 0x100000000
|
||||||
#define ADDR_IS_PREMIUM 0x10009CD24 // Address of "isPremiumActive" in IDA (adjust if needed)
|
#define ADDR_IS_PREMIUM 0x10009CD24 // Address of "isPremiumActive" in IDA (adjust if needed)
|
||||||
|
|
||||||
static int (*orig_isPremiumActive)();
|
static int (*orig_isPremiumActive)(void);
|
||||||
static int hook_isPremiumActive() {
|
|
||||||
|
static int hook_isPremiumActive(void) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -30,10 +31,7 @@ static int hook_isPremiumActive() {
|
|||||||
+ (id)defaultContainer {
|
+ (id)defaultContainer {
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (id)containerWithIdentifier:(id) arg1 {
|
+ (id)containerWithIdentifier:(id) arg1 {
|
||||||
arg1 = nil;
|
|
||||||
return nil;
|
return nil;
|
||||||
return %orig;
|
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
Package: xyz.nohamr
|
Package: xyz.nohamr.servercatpremium
|
||||||
Name: ServerCatPremium (Latest)
|
Name: ServerCatPremium (Latest)
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Architecture: iphoneos-arm
|
Architecture: iphoneos-arm
|
||||||
|
|||||||
@@ -7,8 +7,9 @@
|
|||||||
#define IDA_BASE 0x100000000
|
#define IDA_BASE 0x100000000
|
||||||
#define ADDR_IS_PREMIUM 0x100454D70 // Address of "isPremiumActive" in IDA (adjust if needed)
|
#define ADDR_IS_PREMIUM 0x100454D70 // Address of "isPremiumActive" in IDA (adjust if needed)
|
||||||
|
|
||||||
static int (*orig_isPremiumActive)();
|
static int (*orig_isPremiumActive)(void);
|
||||||
static int hook_isPremiumActive() {
|
|
||||||
|
static int hook_isPremiumActive(void) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Package: xyz.nohamr
|
Package: xyz.nohamr.servercatpremiumlegacy
|
||||||
Name: ServerCatPremium (Legacy)
|
Name: ServerCatPremium (Legacy)
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Architecture: iphoneos-arm
|
Architecture: iphoneos-arm
|
||||||
|
|||||||
3
TextasticPro/.gitignore
vendored
Normal file
3
TextasticPro/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
.theos/
|
||||||
|
packages/
|
||||||
|
.DS_Store
|
||||||
13
TextasticPro/Makefile
Normal file
13
TextasticPro/Makefile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
TARGET = iphone:latest:14.0
|
||||||
|
INSTALL_TARGET_PROCESSES = Textastic
|
||||||
|
ARCHS = arm64 arm64e
|
||||||
|
|
||||||
|
include $(THEOS)/makefiles/common.mk
|
||||||
|
|
||||||
|
TWEAK_NAME = TextasticPro
|
||||||
|
|
||||||
|
TextasticPro_FILES = Tweak.x
|
||||||
|
TextasticPro_CFLAGS = -fobjc-arc
|
||||||
|
TextasticPro_FRAMEWORKS = Foundation
|
||||||
|
|
||||||
|
include $(THEOS_MAKE_PATH)/tweak.mk
|
||||||
7
TextasticPro/TextasticPro.plist
Normal file
7
TextasticPro/TextasticPro.plist
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
Filter = {
|
||||||
|
Bundles = (
|
||||||
|
"com.textasticapp.textastic-universal",
|
||||||
|
);
|
||||||
|
};
|
||||||
|
}
|
||||||
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
|
||||||
9
TextasticPro/control
Normal file
9
TextasticPro/control
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
Package: xyz.nohamr.textasticpro
|
||||||
|
Name: TextasticPro
|
||||||
|
Version: 1.0.0
|
||||||
|
Architecture: iphoneos-arm
|
||||||
|
Description: Unlocks premium features in Textastic app.
|
||||||
|
Maintainer: NohamR
|
||||||
|
Author: NohamR
|
||||||
|
Section: Tweaks
|
||||||
|
Depends: mobilesubstrate (>= 0.9.5000)
|
||||||
28
TextasticPro/index.md
Normal file
28
TextasticPro/index.md
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# TextasticPro
|
||||||
|
|
||||||
|
Unlocks premium features in Textastic.
|
||||||
|
|
||||||
|
- **App**: [Textastic](https://apps.apple.com/fr/app/textastic/id572491815?l=en-GB&mt=12)
|
||||||
|
- **Tested on**: Textastic 10.9.2, iOS iOS 18.3
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
```sh
|
||||||
|
make clean && make package THEOS_PACKAGE_SCHEME=rootless DEBUG=0
|
||||||
|
```
|
||||||
|
|
||||||
|
## Inject
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cyan -i com.textasticapp.textastic-universal-10.9.2.ipa \
|
||||||
|
-o com.textasticapp.textastic-universal-10.9.2_patched.ipa \
|
||||||
|
-f xxyz.nohamr.textasticpro_1.0.0-1_iphoneos-arm64.deb \
|
||||||
|
-u
|
||||||
|
```
|
||||||
|
|
||||||
|
## Screenshots
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
BIN
docs/screens/TextasticPro/pro.png
Normal file
BIN
docs/screens/TextasticPro/pro.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 64 KiB |
BIN
docs/screens/TextasticPro/search.png
Normal file
BIN
docs/screens/TextasticPro/search.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 93 KiB |
BIN
docs/screens/TextasticPro/shh1.png
Normal file
BIN
docs/screens/TextasticPro/shh1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
BIN
docs/screens/TextasticPro/ssh2.png
Normal file
BIN
docs/screens/TextasticPro/ssh2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 274 KiB |
Reference in New Issue
Block a user