summaryrefslogtreecommitdiff
path: root/platform/osx/make_dmg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'platform/osx/make_dmg.sh')
-rw-r--r--platform/osx/make_dmg.sh17
1 files changed, 11 insertions, 6 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh
index b4a4488df..1cff3b5bb 100644
--- a/platform/osx/make_dmg.sh
+++ b/platform/osx/make_dmg.sh
@@ -537,16 +537,21 @@ cat > $pkgroot/Library/LaunchDaemons/com.dcpomatic.disk.writer.plist <<EOF
<key>DYLD_LIBRARY_PATH</key>
<string><![CDATA[/Library/Application Support/com.dcpomatic]]></string>
</dict>
- <key>KeepAlive</key>
- <true/>
- <key>RunAtLoad</key>
- <true/>
- <key>Debug</key>
- <true/>
<key>StandardOutPath</key>
<string>/var/log/dcpomatic_disk_writer_out.log</string>
<key>StandardErrorPath</key>
<string>/var/log/dcpomatic_disk_writer_err.log</string>
+ <key>LaunchEvents</key>
+ <dict>
+ <key>com.apple.notifyd.matching</key>
+ <dict>
+ <key>com.dcpomatic.disk.writer.start</key>
+ <dict>
+ <key>Notification</key>
+ <string>com.dcpomatic.disk.writer.start</string>
+ </dict>
+ </dict>
+ </dict>
</dict>
</plist>
EOF