diff --git a/Sources/uYouPlusPatches.xm b/Sources/uYouPlusPatches.xm index 6fcf2e6..8cef84e 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