Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Fixes [Bug] Video overlay is now shifted upwards #96, add Jailbreak b…
Browse files Browse the repository at this point in the history
…ypass
  • Loading branch information
haoict committed Sep 17, 2021
1 parent 9345aeb commit 890bacb
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 4 deletions.
60 changes: 57 additions & 3 deletions Tweak.xm
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ static void reloadPrefs() {
- (BOOL)progressBarVisible {
return showProgressBar || %orig;
}
- (BOOL)isProgressBarShown {
return showProgressBar || %orig;
}
%end

%hook CTCarrier
Expand Down Expand Up @@ -167,10 +164,67 @@ static void reloadPrefs() {
%end
%end

%group JailbreakBypass
%hook AppsFlyerUtils
+ (BOOL)isJailbrokenWithSkipAdvancedJailbreakValidation:(BOOL)arg1 {
return NO;
}
%end

%hook BDADeviceHelper
+ (BOOL)isJailBroken {
return NO;
}
%end

%hook BDInstallNetworkUtility
+ (BOOL)isJailBroken {
return NO;
}
%end

%hook IESLiveDeviceInfo
+ (BOOL)isJailBroken {
return NO;
}
%end

%hook PIPOStoreKitHelper
+ (BOOL)isJailBroken {
return NO;
}
%end

%hook TTAdSplashDeviceHelper
+ (BOOL)isJailBroken {
return NO;
}
%end

%hook TTInstallUtil
+ (BOOL)isJailBroken {
return NO;
}
%end

%hook PIPOIAPStoreManager
- (BOOL)_pipo_isJailBrokenDeviceWithProductID:(id)arg1 orderID:(id)arg2 {
return NO;
}
%end

%hook UIDevice
+ (BOOL)btd_isJailBroken {
return NO;
}
%end
%end

%ctor {
CFNotificationCenterAddObserver(CFNotificationCenterGetDarwinNotifyCenter(), NULL, (CFNotificationCallback) reloadPrefs, CFSTR(PREF_CHANGED_NOTIF), NULL, CFNotificationSuspensionBehaviorDeliverImmediately);
reloadPrefs();

%init(CoreLogic);
%init(JailbreakBypass);
}

2 changes: 1 addition & 1 deletion control
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: com.haoict.tiktokgod
Name: TikTok God
Depends: mobilesubstrate, preferenceloader, com.haoict.libhdev (>= 4.8.1), firmware (>= 12)
Version: 2.0.0
Version: 2.1.0
Architecture: iphoneos-arm
Description: The best tweak for TikTok app.
The best tweak for TikTok app.
Expand Down
Binary file not shown.

0 comments on commit 890bacb

Please sign in to comment.