Check for assets.zip inside bundle

This commit is contained in:
twinaphex 2016-01-10 01:48:41 +01:00
parent 5c716339de
commit fdb5f10c71

View File

@ -382,6 +382,10 @@ static void frontend_darwin_get_environment_settings(int *argc, char *argv[],
get_ios_version(&major, &minor);
if (major > 8)
strlcpy(g_defaults.path.buildbot_server_url, "http://buildbot.libretro.com/nightly/apple/ios9/latest/", sizeof(g_defaults.path.buildbot_server_url));
NSString *path = [[NSBundle mainBundle] pathForResource:@"assets" ofType:@"zip"];
NSURL *url = [NSURL fileURLWithPath:path];
NSLog(@"url from bundle: %@", url);
#endif
CFTemporaryDirectory(temp_dir, sizeof(temp_dir));