mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-26 20:50:30 +08:00
refactor: Simplify launch daemon configuration for helper service
This commit is contained in:
parent
81bb2c44e0
commit
4b238d4dc2
@ -42,19 +42,12 @@ cat << EOF > "$LAUNCH_DAEMON"
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>party.mihomo.helper</string>
|
||||
<key>MachServices</key>
|
||||
<dict>
|
||||
<key>party.mihomo.helper</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>AssociatedBundleIdentifiers</key>
|
||||
<string>party.mihomo.app</string>
|
||||
<key>KeepAlive</key>
|
||||
<true/>
|
||||
<key>Program</key>
|
||||
<string>${HELPER_PATH}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>${HELPER_PATH}</string>
|
||||
</array>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>/tmp/party.mihomo.helper.err</string>
|
||||
<key>StandardOutPath</key>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user