Files
CoreInject/res/Install.md
2025-11-17 10:01:15 +08:00

52 lines
1.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 安装说明
## 检查权限问题
安装完后一定要执行一次命令看是否提示你没有权限。
![](assets/17632032930473.jpg)
如果你发现你输出的error.log中出现了:
```bash
⚠️ 完全磁盘访问权限测试失败 - 复制备份失败: “1Capture” couldnt be copied because you dont have permission to access “MacOS”.
```
那就需要许可一下完全磁盘访问权限。
打开: 设置 - 隐私与安全性 - 完全磁盘访问权限, 可以看到:
![](assets/17632034297710.jpg)
HayakuDaemon.app 赫然位列其中,点击开关允许即可。
### 重要:
为确保生效, 请手动停止(不是卸载 卸载重新安装会重置权限)并启用, 在终端用sudo执行以下命令即可:
```bash
BUNDLE_ID="com.qiuchenly.hayaku.daemon"
PLIST_NAME="com.qiuchenly.hayaku.daemon.plist"
echo "重启服务..."
launchctl stop "$BUNDLE_ID" 2>/dev/null || true
launchctl unload "/Library/LaunchDaemons/$PLIST_NAME" 2>/dev/null || true
sleep 1
launchctl load "/Library/LaunchDaemons/$PLIST_NAME"
launchctl start "$BUNDLE_ID"
```
看到这个提示说明这把稳了:
![](assets/17632038106204.jpg)
```bash
找到测试应用: /Applications/1Capture.app/Contents/MacOS/1Capture
✓ 完全磁盘访问权限测试通过
```
## 注入App提示失败
![](assets/17632151291488.jpg)
我们已经完全支持了macOS的安全机制, 当失败时, 完全磁盘访问权限必然会显示"HayakuDaemon", 只需要打开后再次注入即可.
![](assets/17632152063531.jpg)
## 无法连接Daemon程序
用某些清理软件卸载后提示如下:
![](assets/17633019904584.jpg)
解决方案:
启动程序这里的HayakuDaemon被禁止掉了,打开即可。
![](assets/17633019379229.jpg)