File tree 1 file changed +1
-16
lines changed
1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 2
2
#import < Foundation/Foundation.h>
3
3
#import < dlfcn.h>
4
4
#import < rootless.h>
5
+ #import " Source/Prefs/Localization.h"
5
6
6
7
#define YT_BUNDLE_ID @" com.google.ios.youtubemusic"
7
8
#define YT_BUNDLE_NAME @" YouTubeMusic"
8
9
#define YT_NAME @" YouTube Music"
9
10
#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();
26
11
27
12
@interface YTAlertView : UIView
28
13
@property (nonatomic , copy , readwrite ) NSString *title;
You can’t perform that action at this time.
0 commit comments