mirror of
https://github.com/NohamR/Tweaks.git
synced 2026-05-25 04:17:15 +00:00
Add TF1+ tvOS tweak and docs
This commit is contained in:
3
TF1Plus/TF1Plus-tvOS/.gitignore
vendored
Normal file
3
TF1Plus/TF1Plus-tvOS/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.theos/
|
||||
packages/
|
||||
.DS_Store
|
||||
13
TF1Plus/TF1Plus-tvOS/Makefile
Normal file
13
TF1Plus/TF1Plus-tvOS/Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
TARGET = appletv:latest:18.3
|
||||
ARCHS = arm64
|
||||
INSTALL_TARGET_PROCESSES = mytf1
|
||||
THEOS_PACKAGE_SCHEME = rootless
|
||||
|
||||
include $(THEOS)/makefiles/common.mk
|
||||
|
||||
TWEAK_NAME = TF1Plus
|
||||
|
||||
TF1Plus_FILES = Tweak.x
|
||||
TF1Plus_CFLAGS = -fobjc-arc
|
||||
|
||||
include $(THEOS_MAKE_PATH)/tweak.mk
|
||||
10
TF1Plus/TF1Plus-tvOS/TF1Plus.plist
Normal file
10
TF1Plus/TF1Plus-tvOS/TF1Plus.plist
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
Filter = {
|
||||
Bundles = (
|
||||
"com.tf1.applitf1",
|
||||
);
|
||||
Executables = (
|
||||
mytf1,
|
||||
);
|
||||
};
|
||||
}
|
||||
7
TF1Plus/TF1Plus-tvOS/Tweak.x
Normal file
7
TF1Plus/TF1Plus-tvOS/Tweak.x
Normal file
@@ -0,0 +1,7 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
%hook FWRequestConfiguration
|
||||
- (id)initWithServerURL:(id)arg1 playerProfile:(id)arg2 {
|
||||
return self;
|
||||
}
|
||||
%end
|
||||
9
TF1Plus/TF1Plus-tvOS/control
Normal file
9
TF1Plus/TF1Plus-tvOS/control
Normal file
@@ -0,0 +1,9 @@
|
||||
Package: xyz.nohamr.tf1plus
|
||||
Name: TF1+ (Rootless)
|
||||
Version: 1.0
|
||||
Architecture: appletvos-arm64
|
||||
Description: TF1+ Ads blocker hook
|
||||
Maintainer: NohamR
|
||||
Author: NohamR
|
||||
Section: Tweaks
|
||||
Depends: firmware
|
||||
22
TF1Plus/TF1Plus-tvOS/index.md
Normal file
22
TF1Plus/TF1Plus-tvOS/index.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# TF1+ tvOS
|
||||
|
||||
Block ads initialization on TF1+.
|
||||
|
||||
- **App**: [TF1+ : Streaming, TV en Direct](https://apps.apple.com/fr/app/tf1-streaming-tv-en-direct/id407248490)
|
||||
- **Tested version**: 11.36.0
|
||||
- **Target**: tvOS
|
||||
|
||||
## Build
|
||||
|
||||
```sh
|
||||
make package FINALPACKAGE=1
|
||||
```
|
||||
|
||||
## Inject
|
||||
|
||||
```sh
|
||||
cyan -i tf1plus.ipa \
|
||||
-o tf1plus_patched.ipa \
|
||||
-f com.yourname.tf1plus_1.0_tvos-arm64.deb \
|
||||
-u
|
||||
```
|
||||
Reference in New Issue
Block a user