File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 22#import < Foundation/Foundation.h>
33#import < dlfcn.h>
44#import < rootless.h>
5+ #import " Source/Prefs/Localization.h"
56
67#define YT_BUNDLE_ID @" com.google.ios.youtubemusic"
78#define YT_BUNDLE_NAME @" YouTubeMusic"
89#define YT_NAME @" YouTube Music"
910#define YTMULoginAlert @" YTMULoginAlert"
10- #define LOC (x ) [tweakBundle localizedStringForKey: x value: nil table: nil ]
11-
12- NSBundle *YTMusicUltimateBundle () {
13- static NSBundle *bundle = nil ;
14- static dispatch_once_t onceToken;
15- dispatch_once (&onceToken, ^{
16- NSString *tweakBundlePath = [[NSBundle mainBundle ] pathForResource: @" YTMusicUltimate" ofType: @" bundle" ];
17- if (tweakBundlePath)
18- bundle = [NSBundle bundleWithPath: tweakBundlePath];
19- else
20- bundle = [NSBundle bundleWithPath: ROOT_PATH_NS (" /Library/Application Support/YTMusicUltimate.bundle" )];
21- });
22- return bundle;
23- }
24-
25- NSBundle *tweakBundle = YTMusicUltimateBundle();
2611
2712@interface YTAlertView : UIView
2813@property (nonatomic , copy , readwrite ) NSString *title;
You can’t perform that action at this time.
0 commit comments