21 lines
933 B
Plaintext
21 lines
933 B
Plaintext
<?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>
|