2 Commits

Author SHA1 Message Date
√(noham)²
0fa7d613d8 Block subscription set and update executables 2026-05-11 00:55:20 +02:00
√(noham)²
432eafeb77 Select tvOS Theos repo and remove YouTubeHeader 2026-05-03 17:31:36 +02:00
4 changed files with 20 additions and 12 deletions

View File

@@ -43,7 +43,14 @@ jobs:
local repo_url=$1 local repo_url=$1
git ls-remote "$repo_url" HEAD | awk '{print substr($1,1,7)}' git ls-remote "$repo_url" HEAD | awk '{print substr($1,1,7)}'
} }
echo "THEOS_COMMIT=$(get_commit_hash "https://github.com/roothide/theos")" >> $GITHUB_ENV TWEAK_PATH="${{ inputs.tweak || 'BusinessJB' }}"
if [[ "$TWEAK_PATH" == *"tvOS"* || "$TWEAK_PATH" == *"TVOS"* ]]; then
THEOS_URL="https://github.com/NohamR/theos-tvOS"
else
THEOS_URL="https://github.com/roothide/theos"
fi
echo "THEOS_REPO=$THEOS_URL" >> $GITHUB_ENV
echo "THEOS_COMMIT=$(get_commit_hash "$THEOS_URL")" >> $GITHUB_ENV
- name: Cache Theos - name: Cache Theos
id: cache-theos id: cache-theos
@@ -55,7 +62,7 @@ jobs:
- name: Setup Theos - name: Setup Theos
if: ${{ steps.cache-theos.outputs.cache-hit != 'true' }} if: ${{ steps.cache-theos.outputs.cache-hit != 'true' }}
run: | run: |
git clone --quiet --depth=1 --recurse-submodules https://github.com/roothide/theos.git git clone --quiet --depth=1 --recurse-submodules ${{ env.THEOS_REPO }}.git theos
git clone --quiet --depth=1 -n --filter=tree:0 https://github.com/Tonwalter888/iOS-SDKs.git git clone --quiet --depth=1 -n --filter=tree:0 https://github.com/Tonwalter888/iOS-SDKs.git
cd iOS-SDKs cd iOS-SDKs
git sparse-checkout set --no-cone iPhoneOS18.6.sdk git sparse-checkout set --no-cone iPhoneOS18.6.sdk
@@ -64,14 +71,6 @@ jobs:
- name: Clone headers - name: Clone headers
run: | run: |
if [ ! -d "$THEOS/include/YouTubeHeader" ]; then
git clone --quiet --depth=1 https://github.com/PoomSmart/YouTubeHeader.git "$THEOS/include/YouTubeHeader"
else
cd $THEOS/include/YouTubeHeader
git pull --quiet --force
cd ${{ github.workspace }}
fi
if [ ! -d "$THEOS/include/PSHeader" ]; then if [ ! -d "$THEOS/include/PSHeader" ]; then
git clone --quiet --depth=1 https://github.com/PoomSmart/PSHeader.git "$THEOS/include/PSHeader" git clone --quiet --depth=1 https://github.com/PoomSmart/PSHeader.git "$THEOS/include/PSHeader"
else else

View File

@@ -4,7 +4,7 @@
"com.tf1.applitf1", "com.tf1.applitf1",
); );
Executables = ( Executables = (
mytf1, App,
); );
}; };
} }

View File

@@ -5,3 +5,12 @@
return self; return self;
} }
%end %end
%hook VSSubscriptionRegistrationCenter
- (void)setCurrentSubscription:(id)subscription
{
NSLog(@"Blocked VSSubscriptionRegistrationCenter");
NSLog(@"Subscription: %@", subscription);
return;
}
%end

View File

@@ -3,7 +3,7 @@
Block ads initialization on TF1+. Block ads initialization on TF1+.
- **App**: [TF1+ : Streaming, TV en Direct](https://apps.apple.com/fr/app/tf1-streaming-tv-en-direct/id407248490) - **App**: [TF1+ : Streaming, TV en Direct](https://apps.apple.com/fr/app/tf1-streaming-tv-en-direct/id407248490)
- **Tested version**: 11.36.0 - **Tested version**: 23.3.1
- **Target**: iOS - **Target**: iOS
## Build ## Build