From fdb5f10c71ff5135e4b50569d3c2f1e4a6dbf079 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 10 Jan 2016 01:48:41 +0100 Subject: [PATCH] Check for assets.zip inside bundle --- frontend/drivers/platform_darwin.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/drivers/platform_darwin.m b/frontend/drivers/platform_darwin.m index 7326892fd6..7c04273d3d 100644 --- a/frontend/drivers/platform_darwin.m +++ b/frontend/drivers/platform_darwin.m @@ -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));