diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-02-07 15:47:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-02-07 21:55:35 +0100 |
| commit | d6bdca3cb6a7571ed82ac405cc21db9ef809c0b3 (patch) | |
| tree | 90bde0b8066fc030a98919d3a5080af585b659c5 | |
| parent | 083848fb7759621a82211e8aee4738c83f16a8fd (diff) | |
Use different names for the 10.6 (thin) and 10.9 (universal) DMG files.
| -rw-r--r-- | platform/osx/make_dmg.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh index 18ca029f5..b33dd8a43 100644 --- a/platform/osx/make_dmg.sh +++ b/platform/osx/make_dmg.sh @@ -321,8 +321,12 @@ function make_dmg { local pkg="$2" local full_name="$3" local exes="$4" - tmp_dmg=dcpomatic_tmp.dmg - dmg="$full_name $version.dmg" + tmp_dmg=dcpomatic_tmp.dmg + if [ "$ARCH2" == "" ]; then + dmg="$full_name $version macOS10.8+.dmg" + else + dmg="$full_name $version macOS10.10+.dmg" + fi vol_name=DCP-o-matic-$version find "$appdir/Contents/Frameworks" -iname "*.dylib" -type f -print0 | while IFS= read -r -d '' f; do |
