增加QiuChenly一键注入应用商店前端页面能力。

This commit is contained in:
QiuChenly
2025-10-14 02:34:25 +08:00
parent 40937685e7
commit 345a1ce7c8
19 changed files with 866 additions and 26 deletions

32
res/uninstall_daemon.sh Executable file
View File

@@ -0,0 +1,32 @@
#!/bin/bash
# Hayaku HTTP守护进程卸载脚本
set -e
echo "卸载Hayaku HTTP守护进程..."
# 检查是否以root权限运行
if [ "$EUID" -ne 0 ]; then
echo "请使用sudo运行此脚本"
exit 1
fi
PLIST_NAME="com.qiuchenly.hayaku.daemon.plist"
# 停止并卸载服务
echo "停止服务..."
launchctl stop "com.qiuchenly.hayaku.daemon" 2>/dev/null || true
launchctl unload "/Library/LaunchDaemons/$PLIST_NAME" 2>/dev/null || true
# 删除文件
echo "删除文件..."
rm -f "/usr/local/bin/InjectLib"
rm -f "/usr/local/bin/tool"
rm -f "/usr/local/bin/config.json"
rm -f "/usr/local/bin/frontend"
rm -f "/Library/LaunchDaemons/$PLIST_NAME"
rm -f "/var/log/hayaku_daemon.log"
rm -f "/var/log/hayaku_daemon_error.log"
echo "卸载完成!"