Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@ cargo test --manifest-path src-tauri/Cargo.toml --all
pnpm test
```

> **💡 macOS 安装提示**:若打开下载的安装包时提示 `“已损坏,无法打开”`,系 macOS Gatekeeper 安全机制对未签名文件的隔离标记,请在终端执行:
> `sudo xattr -rd com.apple.quarantine /Applications/Dramaxis.app` 即可正常启动。
> **macOS 安全提示**:若 Gatekeeper 报告应用已损坏或无法验证,请勿使用 `sudo xattr` 移除隔离标记或关闭 Gatekeeper。该提示可能表示应用未签名/未公证,也可能是下载损坏。请仅从官方发布页获取应用,并在维护者提供时校验签名或哈希;若仍被拦截,请停止运行并联系维护者获取可验证的发布包。

---

Expand Down
7 changes: 2 additions & 5 deletions docs/guide/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@

### Q2: macOS 提示「应用已损坏,无法打开」或拦截未签名二进制?

- **原因**:macOS Gatekeeper 安全机制对未签名或自行编译的本地应用进行限制。
- **解决**:在终端执行信任命令:
```bash
sudo xattr -rd com.apple.quarantine /Applications/splicr.app
```
- **原因**:这可能表示应用未签名/未公证,也可能是下载损坏;仅凭提示无法安全地区分原因。
- **建议**:不要移除 quarantine 隔离标记或关闭 Gatekeeper。请仅从官方发布页下载,并在维护者提供时校验签名或哈希。若仍被拦截,请停止运行并联系维护者获取可验证的发布包;不要通过 `sudo xattr` 绕过系统保护。

---

Expand Down