This is unneeded

This commit is contained in:
PoomSmart
2022-12-24 15:51:39 +07:00
parent 2c3370a2b9
commit 6c73106a5a
+1 -4
View File
@@ -31,11 +31,8 @@ NSBundle *uYouPlusBundle() {
NSString *tweakBundlePath = [[NSBundle mainBundle] pathForResource:@"uYouPlus" ofType:@"bundle"]; NSString *tweakBundlePath = [[NSBundle mainBundle] pathForResource:@"uYouPlus" ofType:@"bundle"];
if (tweakBundlePath) if (tweakBundlePath)
bundle = [NSBundle bundleWithPath:tweakBundlePath]; bundle = [NSBundle bundleWithPath:tweakBundlePath];
else { else
bundle = [NSBundle bundleWithPath:@"/Library/Application Support/uYouPlus.bundle"]; bundle = [NSBundle bundleWithPath:@"/Library/Application Support/uYouPlus.bundle"];
if (!bundle)
bundle = [NSBundle bundleWithPath:@"/var/jb/Library/Application Support/uYouPlus.bundle"];
}
}); });
return bundle; return bundle;
} }