# 客户端内自动更新

{% hint style="info" %}
可参考 [使用 AList 搭建直链网盘（可选）](/others/cloud-storage-with-alist.md)搭建客户端的直链下载链接
{% endhint %}

### V2board

<figure><img src="/files/HTHQkcCfKBeO108C1kkO" alt=""><figcaption></figcaption></figure>

`后台，系统配置，APP`中，填写版本号和客户端的直链下载地址。

{% hint style="info" %}
macOS仅需填写 `Vortex-1.1.1.pkg` 的下载链接，并将 `Vortex-1.1.1-arm64.pkg` 上传至同一目录。 **请注意 M 芯片版本比 x64 版本多出“-arm64”结尾**
{% endhint %}

***

### SSPanel  & WHMCS

1、在网站根目录添加 `version.txt` 文件，如下

2、参考格式修改版本号和下载链接

3、macOS 仅需填写 `Vortex-1.2.3.pkg` 的下载链接，并将 `Vortex-1.2.3-arm64.pkg` 上传至同一目录。 **请注意 M 芯片版本比 x64 版本多出“-arm64”结尾**

```json
{
  "data": {
    "windows_version": "1.2.3",
    "windows_download_url": "https://demo.com/Vortex Setup 1.2.3.exe",
    "macos_version": "1.2.3",
    "macos_download_url": "https://demo.com/Vortex-1.2.3.pkg",
    "android_version": "1.2.3",
    "android_download_url": "https://demo.com/Vortex-1.2.3-universal-release.apk"
  }
}
```

{% hint style="success" %}
V2board 也可在根目录添加 version.txt 文件，使客户端屏蔽后台设置而只读取 version.txt 的更新内容，达到多个客户端共存！
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.vtx.team/panel/auto-update.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
