From d4b2243788a699c96f8ee50bc44d9eb5e182f59e Mon Sep 17 00:00:00 2001 From: qnblackcat Date: Tue, 30 Apr 2024 00:05:28 +0700 Subject: [PATCH] update sign in fix https://github.com/qnblackcat/uYouPlus/pull/1353/commits/2494cdf3c101e2d29c1f802254c269431224b97a --- Sources/uYouPlusPatches.xm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/uYouPlusPatches.xm b/Sources/uYouPlusPatches.xm index d1dbd2b..1d1bebc 100644 --- a/Sources/uYouPlusPatches.xm +++ b/Sources/uYouPlusPatches.xm @@ -6,8 +6,8 @@ %hook NSBundle - (NSDictionary *)infoDictionary { NSMutableDictionary *info = %orig.mutableCopy; - NSString *altBundleIdentifier = info[@"ALTBundleIdentifier"]; - if (altBundleIdentifier) info[@"CFBundleIdentifier"] = altBundleIdentifier; + if ([self isEqual:NSBundle.mainBundle]) + info[@"CFBundleIdentifier"] = @"com.google.ios.youtube"; return info; } %end