Try unloading the old disk writer on install (may fix #1738).
authorCarl Hetherington <cth@carlh.net>
Sat, 2 May 2020 17:59:27 +0000 (19:59 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 2 May 2020 17:59:27 +0000 (19:59 +0200)
platform/osx/make_dmg.sh

index dfac33d4618f18f3b37d91d68c34b13a479b2329..b4a4488df2c80b48e6f3e3f7e38bc1596390a337 100644 (file)
@@ -564,6 +564,7 @@ relink_absolute "/Library/Application Support/com.dcpomatic" "${rl[@]}"
 mkdir $pkgbase/scripts
 cat > $pkgbase/scripts/postinstall <<EOF
 #!/bin/sh
+/bin/launchctl unload "/Library/LaunchDaemons/com.dcpomatic.disk.writer.plist"
 /bin/launchctl load "/Library/LaunchDaemons/com.dcpomatic.disk.writer.plist"
 exit 0
 EOF