docs: update macOS to universal binary download

This commit is contained in:
romgX
2026-03-20 02:37:00 +08:00
parent 9d4e761836
commit 6cd95c3bd2

View File

@@ -124,12 +124,12 @@ Groq 免费额度用完 → 自动切到 Cerebras → 再切 SambaNova。**你
**Windows**[点击下载 openrelay-windows-x64.exe](https://github.com/romgX/openrelay/releases/latest/download/openrelay-windows-x64.exe),双击运行。
**macOS**[前往下载页面](https://github.com/romgX/openrelay/releases/latest)根据芯片选择对应版本Apple Silicon 选 arm64Intel 选 x64,然后终端执行:
**macOS**Intel / Apple Silicon 通用):[点击下载 openrelay-macos](https://github.com/romgX/openrelay/releases/latest/download/openrelay-macos),然后终端执行:
```bash
chmod +x openrelay-macos-*
xattr -d com.apple.quarantine openrelay-macos-*
./openrelay-macos-*
chmod +x openrelay-macos
xattr -d com.apple.quarantine openrelay-macos
./openrelay-macos
```
> `xattr` 命令用于解除 macOS 对未签名程序的安全限制,否则会提示"无法打开"。
@@ -326,12 +326,12 @@ When Groq's free quota runs out → automatic failover to Cerebras → then Samb
**Windows**: [Download openrelay-windows-x64.exe](https://github.com/romgX/openrelay/releases/latest/download/openrelay-windows-x64.exe), double-click to run.
**macOS**: [Go to Downloads](https://github.com/romgX/openrelay/releases/latest) — pick **arm64** for Apple Silicon (M-series) or **x64** for Intel, then run in terminal:
**macOS** (Intel / Apple Silicon universal): [Download openrelay-macos](https://github.com/romgX/openrelay/releases/latest/download/openrelay-macos), then run in terminal:
```bash
chmod +x openrelay-macos-*
xattr -d com.apple.quarantine openrelay-macos-*
./openrelay-macos-*
chmod +x openrelay-macos
xattr -d com.apple.quarantine openrelay-macos
./openrelay-macos
```
> `xattr` removes macOS Gatekeeper quarantine flag — without it, macOS will block the unsigned binary.