Agent 安装
如果你使用 Cursor、Claude Code 等 Agent,复制下方全部提示词,粘贴给 Agent 即可完成下载与安装。
请帮我在当前机器上安装最新版 Opptrix 桌面客户端。按以下步骤执行:
1. 识别操作系统与架构
- Windows → 使用 latest.yml
- macOS Apple 芯片 (arm64) → latest-mac.yml 中选 arm64 的 .dmg
- macOS Intel (x64) → latest-mac.yml 中选 x64/Intel 的 .dmg
- Linux → latest-linux.yml;优先 .AppImage,Debian/Ubuntu 可用 .deb
2. 获取版本清单(固定 URL,勿猜测文件名)
- Windows: https://update.opptrix.org/desktop/latest.yml
- macOS: https://update.opptrix.org/desktop/latest-mac.yml
- Linux: https://update.opptrix.org/desktop/latest-linux.yml
3. 解析 YAML
- 读取 `version` 字段作为当前最新版本
- 在 `files` 列表中按 OS/架构选择对应安装包(见第 1 步)
- 记录所选文件的 `url`、`sha512`、`size`
4. 下载
- 下载地址:`https://update.opptrix.org/desktop/{url}`(将 {url} 替换为 YAML 中的文件名)
- 下载完成后校验 SHA-512 与 YAML 中 `sha512` 一致
5. 安装
- Windows:运行 .exe 安装程序
- macOS:打开 .dmg,将应用拖入「应用程序」
- Linux AppImage:`chmod +x` 后执行
- Linux deb:`sudo dpkg -i` 安装
6. 完成后告知我:版本号、安装路径、是否校验通过。
详细 Agent 说明见:https://www.opptrix.org/guide/agent-install
想自己手动安装?请看 快速开始。