From b4094e0c071fc05538a9cf079eb40306ac118489 Mon Sep 17 00:00:00 2001 From: qnblackcat Date: Wed, 19 Oct 2022 22:05:17 +0700 Subject: [PATCH] update uYouPlus.xm --- uYouPlus.xm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uYouPlus.xm b/uYouPlus.xm index e7091d0..e56c8ba 100644 --- a/uYouPlus.xm +++ b/uYouPlus.xm @@ -29,8 +29,11 @@ NSBundle *uYouPlusBundle() { NSString *tweakBundlePath = [[NSBundle mainBundle] pathForResource:@"uYouPlus" ofType:@"bundle"]; if (tweakBundlePath) bundle = [NSBundle bundleWithPath:tweakBundlePath]; - else + else { bundle = [NSBundle bundleWithPath:@"/Library/Application Support/uYouPlus.bundle"]; + if (!bundle) + bundle = [NSBundle bundleWithPath:@"/var/jb/Library/Application Support/uYouPlus.bundle"]; + } }); return bundle; }