AnyBot/deploy/mac/com.anybot.serve.plist

21 lines
933 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!-- An always-on Mac (e.g. a Mac mini) running AnyBot without a window.
cp com.anybot.serve.plist ~/Library/LaunchAgents/ && launchctl load ~/Library/LaunchAgents/com.anybot.serve.plist
Change the program path below to where anybot is. Sign in to the account once in the
AnyBot window (設定 › 手機與帳號) before switching to this; the window and this must not run
at the same time. -->
<!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>com.anybot.serve</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/AnyBot.app/Contents/MacOS/anybot</string>
<string>--serve</string>
</array>
<key>RunAtLoad</key><true/>
<key>KeepAlive</key><true/>
<key>StandardErrorPath</key><string>/tmp/anybot-serve.log</string>
</dict>
</plist>