roothide support & ja.lploj update

This commit is contained in:
ichitaso
2024-07-16 19:57:22 +09:00
parent 508c927907
commit 546d3692bf
6 changed files with 254 additions and 253 deletions
+3 -3
View File
@@ -8,12 +8,12 @@
dispatch_once(&onceToken, ^{
NSString *tweakBundlePath = [[NSBundle mainBundle] pathForResource:@"YTLite" ofType:@"bundle"];
NSString *rootlessBundlePath = ROOT_PATH_NS("/Library/Application Support/YTLite.bundle");
NSString *kBundlePath = jbroot(@"/Library/Application Support/YTLite.bundle");
bundle = [NSBundle bundleWithPath:tweakBundlePath ?: rootlessBundlePath];
bundle = [NSBundle bundleWithPath:tweakBundlePath ?: kBundlePath];
});
return bundle;
}
@end
@end