summaryrefslogtreecommitdiff
path: root/platform/osx/make_dmg.sh
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-24 20:44:24 +0200
committerCarl Hetherington <cth@carlh.net>2020-10-27 21:45:32 +0100
commitbed96d486f85a9fa5171e2cdaa3858581d631b3a (patch)
tree3762b496ef7180a3569c72b3626822e2fefa55c0 /platform/osx/make_dmg.sh
parent1dfb125a8e07f5185c229260ac0643e47eee5026 (diff)
Add uninstaller for the .pkg part of the disk writer on macOS (#1740).
Diffstat (limited to 'platform/osx/make_dmg.sh')
-rw-r--r--platform/osx/make_dmg.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh
index 850a2a4f7..a6755e918 100644
--- a/platform/osx/make_dmg.sh
+++ b/platform/osx/make_dmg.sh
@@ -516,6 +516,7 @@ make_dmg "$appdir" "" "DCP-o-matic Combiner"
setup "DCP-o-matic 2 Disk Writer.app"
copy $ROOT src/dcpomatic/build/src/tools/dcpomatic2_disk "$approot/MacOS"
copy $ROOT src/openssl/apps/openssl "$approot/MacOS"
+cp $prefix/src/dcpomatic/platform/osx/uninstall_disk.applescript "$approot/Resources"
cp $prefix/src/dcpomatic/build/platform/osx/dcpomatic2_disk.Info.plist "$approot/Info.plist"
rl=("$approot/MacOS/dcpomatic2_disk" "$approot/Frameworks/"*.dylib)
relink_relative "${rl[@]}"