mihomo-party/build/pkg-scripts/postinstall

6 lines
300 B
Plaintext
Raw Normal View History

2024-10-16 17:16:54 +08:00
#!/bin/sh
chown root:admin $2/Mihomo\ Party.app/Contents/Resources/sidecar/mihomo
chown root:admin $2/Mihomo\ Party.app/Contents/Resources/sidecar/mihomo-alpha
chmod +s $2/Mihomo\ Party.app/Contents/Resources/sidecar/mihomo
chmod +s $2/Mihomo\ Party.app/Contents/Resources/sidecar/mihomo-alpha
exit 0