diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-05-02 21:37:14 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-05-02 21:37:14 +0200 |
| commit | 3a715c7e0d5cbb39ffd6816899ef3050e8331882 (patch) | |
| tree | 0c3b7c11dae457d49126d4e713d1b4ba6ee4e301 /platform | |
| parent | 88ad1ed243572b5310a4e866e87a61e8d8c8969e (diff) | |
Try to start _writer on-demand on macOS (#1739).
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/osx/make_dmg.sh | 17 |
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 |
