From 9e1f5f2f19a8b0e880e034d455b359d426f6d386 Mon Sep 17 00:00:00 2001 From: Florin9doi Date: Sat, 1 Apr 2023 01:05:03 +0300 Subject: [PATCH] Set correct version for macOS bundles Closes #1344 --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 10d40de3bc3..48c1aa6a287 100755 --- a/build.sh +++ b/build.sh @@ -77,6 +77,9 @@ package_macos() { cp Info.plist dist/xemu.app/Contents/ + plutil -replace CFBundleShortVersionString -string $(cat ${project_source_dir}/XEMU_VERSION | cut -f1 -d-) dist/xemu.app/Contents/Info.plist + plutil -replace CFBundleVersion -string $(cat ${project_source_dir}/XEMU_VERSION | cut -f1 -d-) dist/xemu.app/Contents/Info.plist + codesign --force --deep --preserve-metadata=entitlements,requirements,flags,runtime --sign - "${exe_path}" python3 ./scripts/gen-license.py --version-file=macos-libs/$target_arch/INSTALLED > dist/LICENSE.txt }