Skip to content

Commit 4b238d4

Browse files
committed
refactor: Simplify launch daemon configuration for helper service
1 parent 81bb2c4 commit 4b238d4

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

build/pkg-scripts/postinstall

+2-9
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,12 @@ cat << EOF > "$LAUNCH_DAEMON"
4242
<dict>
4343
<key>Label</key>
4444
<string>party.mihomo.helper</string>
45-
<key>MachServices</key>
46-
<dict>
47-
<key>party.mihomo.helper</key>
48-
<true/>
49-
</dict>
45+
<key>AssociatedBundleIdentifiers</key>
46+
<string>party.mihomo.app</string>
5047
<key>KeepAlive</key>
5148
<true/>
5249
<key>Program</key>
5350
<string>${HELPER_PATH}</string>
54-
<key>ProgramArguments</key>
55-
<array>
56-
<string>${HELPER_PATH}</string>
57-
</array>
5851
<key>StandardErrorPath</key>
5952
<string>/tmp/party.mihomo.helper.err</string>
6053
<key>StandardOutPath</key>

0 commit comments

Comments
 (0)