Skip to content

Commit

Permalink
macOS: ensure bundled assets get extracted properly (#17444)
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven authored Jan 20, 2025
1 parent 6fda419 commit ef4512d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/drivers/platform_darwin.m
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
2 changes: 2 additions & 0 deletions pkg/apple/RetroArch_Metal.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit ef4512d

Please sign in to comment.