mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 03:35:22 +00:00
macOS: ensure bundled assets get extracted properly (#17444)
This commit is contained in:
parent
6fda41900d
commit
ef4512dd02
@ -454,7 +454,7 @@ static void frontend_darwin_get_env(int *argc, char *argv[],
|
||||
application_data
|
||||
);
|
||||
NSString *bundleVersionString = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"];
|
||||
NSInteger bundleVersion = [bundleVersionString integerValue];
|
||||
NSInteger bundleVersion = [bundleVersionString integerValue] || 1;
|
||||
configuration_set_uint(settings, settings->uints.bundle_assets_extract_version_current, (uint)bundleVersion);
|
||||
}
|
||||
|
||||
|
@ -1805,6 +1805,7 @@
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
};
|
||||
name = Debug;
|
||||
@ -1815,6 +1816,7 @@
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
};
|
||||
name = Release;
|
||||
|
Loading…
x
Reference in New Issue
Block a user