Add macOS build and launchd install support

This commit is contained in:
Else
2026-03-18 11:01:36 +01:00
committed by frosty
parent 39184b8a79
commit 3b17d8a766
3 changed files with 100 additions and 11 deletions

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>@LAUNCHD_LABEL@</string>
<key>ProgramArguments</key>
<array>
<string>@INSTALL_BIN_DIR@/omnisearch</string>
</array>
<key>WorkingDirectory</key>
<string>@DATA_DIR@</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>StandardOutPath</key>
<string>@LOG_DIR@/omnisearch.log</string>
<key>StandardErrorPath</key>
<string>@LOG_DIR@/omnisearch.err</string>
</dict>
</plist>