Skip to content

Commit

Permalink
Set correct version for macOS bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
Florin9doi authored and mborgerson committed May 2, 2023
1 parent 9723b43 commit 9e1f5f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 9e1f5f2

Please sign in to comment.