File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,17 @@ - (void) setupPackageTest
3939
4040 [self addLabels ];
4141
42+
43+
44+ #if __CC_PLATFORM_ANDROID
45+ NSURL *remoteURL = [NSURL URLWithString: @" https://github.com/NickyWeber/cocos2d_test_resources/blob/master/testpackage-Android-phonehd.zip?raw=true" ];
46+ #elif __CC_PLATFORM_IOS
47+ NSURL *remoteURL = [NSURL URLWithString: @" https://github.com/NickyWeber/cocos2d_test_resources/blob/master/testpackage-iOS-phonehd.zip?raw=true" ];
48+ #endif
49+
4250 self.package = [[CCPackageManager sharedManager ] downloadPackageWithName: @" testpackage"
4351 resolution: @" phonehd"
44- remoteURL: [ NSURL URLWithString: @" https://github.com/NickyWeber/cocos2d_test_resources/blob/master/testpackage-iOS-phonehd.zip?raw=true " ]
52+ remoteURL: remoteURL
4553 enableAfterDownload: YES ];
4654}
4755
You can’t perform that action at this time.
0 commit comments