tvOS: support extracting bundled assets.zip on startup

This commit is contained in:
Yoshi Sugawara 2019-08-26 15:43:12 -10:00
parent 71c1f327d3
commit 41382b5f58

View File

@ -447,10 +447,12 @@ static void frontend_darwin_get_environment_settings(int *argc, char *argv[],
#endif
#endif
#if TARGET_OS_IOS
#if TARGET_OS_IPHONE
char assets_zip_path[PATH_MAX_LENGTH];
#if TARGET_OS_IOS
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));
#endif
fill_pathname_join(assets_zip_path, bundle_path_buf, "assets.zip", sizeof(assets_zip_path));