We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73bec60 commit 3011147Copy full SHA for 3011147
cocos2d-ui/CCBReader/CCBReader.m
@@ -85,11 +85,19 @@ + (void) configureCCFileUtils
85
@"", CCFileUtilsSuffixDefault,
86
nil];
87
88
+#if __CC_PLATFORM_ANDROID
89
+ sharedFileUtils.searchPath =
90
+ [NSArray arrayWithObjects:
91
+ [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"Published-Android"],
92
+ [[NSBundle mainBundle] resourcePath],
93
+ nil];
94
+#else
95
sharedFileUtils.searchPath =
96
[NSArray arrayWithObjects:
97
[[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"Published-iOS"],
98
[[NSBundle mainBundle] resourcePath],
99
100
+#endif
101
102
sharedFileUtils.enableiPhoneResourcesOniPad = YES;
103
sharedFileUtils.searchMode = CCFileUtilsSearchModeDirectory;
0 commit comments