docs: optimize install guide (npm hint, Star CTA, macOS x64 support)

This commit is contained in:
romgX
2026-03-20 00:05:31 +08:00
parent a0d6a6f8ca
commit 9d4e761836

View File

@@ -120,20 +120,24 @@ Groq 免费额度用完 → 自动切到 Cerebras → 再切 SambaNova。**你
## 安装 & 快速上手
> **直接下载可执行文件运行,无需 npm install / node 环境。**
**Windows**[点击下载 openrelay-windows-x64.exe](https://github.com/romgX/openrelay/releases/latest/download/openrelay-windows-x64.exe),双击运行。
**macOS**[点击下载 openrelay-macos-arm64](https://github.com/romgX/openrelay/releases/latest/download/openrelay-macos-arm64),然后终端执行:
**macOS**[前往下载页面](https://github.com/romgX/openrelay/releases/latest)根据芯片选择对应版本Apple Silicon 选 arm64Intel 选 x64,然后终端执行:
```bash
chmod +x openrelay-macos-arm64
xattr -d com.apple.quarantine openrelay-macos-arm64
./openrelay-macos-arm64
chmod +x openrelay-macos-*
xattr -d com.apple.quarantine openrelay-macos-*
./openrelay-macos-*
```
> `xattr` 命令用于解除 macOS 对未签名程序的安全限制,否则会提示"无法打开"。
浏览器打开 `http://localhost:18765` — 一切在 Web 面板中管理,支持中英双语。
> 觉得有用?给个 **Star** ⭐ 是对我们最大的支持!
---
## 安全
@@ -318,20 +322,24 @@ When Groq's free quota runs out → automatic failover to Cerebras → then Samb
## Install & Quick Start
> **Download and run — no npm install or Node.js required.**
**Windows**: [Download openrelay-windows-x64.exe](https://github.com/romgX/openrelay/releases/latest/download/openrelay-windows-x64.exe), double-click to run.
**macOS**: [Download openrelay-macos-arm64](https://github.com/romgX/openrelay/releases/latest/download/openrelay-macos-arm64), then run in terminal:
**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:
```bash
chmod +x openrelay-macos-arm64
xattr -d com.apple.quarantine openrelay-macos-arm64
./openrelay-macos-arm64
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.
Open `http://localhost:18765` → everything is managed from the Web dashboard.
> Found it useful? Give us a **Star** ⭐ — it helps a lot!
---
## Security