From a159dfc2d27e4f74f3a1688b911f01867d0bbb34 Mon Sep 17 00:00:00 2001 From: toorux Date: Mon, 19 Oct 2026 23:40:22 +0800 Subject: [PATCH] docs(install): use latest release bootstrap for stable installs --- README.md | 2 +- README.zh-CN.md | 2 +- docs/user-guide/installation.md | 2 +- docs/zh-CN/user-guide/installation.md | 2 +- install.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 191ef0f..7c9fa77 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Download the package for your computer from the [Framely Installer release](http Run the following command **in Frame's SSH terminal** to install the latest stable release: ```bash -curl -fsSL https://raw.githubusercontent.com/SteamFramelyHomebrew/framely/main/install.sh | bash -s -- install +curl -fsSL https://github.com/SteamFramelyHomebrew/framely/releases/latest/download/install.sh | bash -s -- install ``` For a Preview release, specify an actual published tag: diff --git a/README.zh-CN.md b/README.zh-CN.md index b5fa66c..186950d 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -36,7 +36,7 @@ Framely 使用 Rust 核心服务和独立的 CEF/OpenVR 宿主,并提供电脑 **在 Frame 的 SSH 终端中**执行以下命令,安装最新正式版: ```bash -curl -fsSL https://raw.githubusercontent.com/SteamFramelyHomebrew/framely/main/install.sh | bash -s -- install +curl -fsSL https://github.com/SteamFramelyHomebrew/framely/releases/latest/download/install.sh | bash -s -- install ``` 安装 Preview 时指定实际已发布的标签: diff --git a/docs/user-guide/installation.md b/docs/user-guide/installation.md index 644413b..fafe501 100644 --- a/docs/user-guide/installation.md +++ b/docs/user-guide/installation.md @@ -27,7 +27,7 @@ Downloads are checked locally and again on the device. Passwords are not saved i Run these commands **on Frame**. To install the latest stable release: ```bash -curl -fsSL https://raw.githubusercontent.com/SteamFramelyHomebrew/framely/main/install.sh | bash -s -- install +curl -fsSL https://github.com/SteamFramelyHomebrew/framely/releases/latest/download/install.sh | bash -s -- install ``` To select a Preview or another tag: diff --git a/docs/zh-CN/user-guide/installation.md b/docs/zh-CN/user-guide/installation.md index d8089de..8b9dd54 100644 --- a/docs/zh-CN/user-guide/installation.md +++ b/docs/zh-CN/user-guide/installation.md @@ -27,7 +27,7 @@ Linux 用户可在安装器解压目录执行 `bash install-desktop-entry.sh`, 以下命令在 **Frame 上** 执行。默认安装最新正式版: ```bash -curl -fsSL https://raw.githubusercontent.com/SteamFramelyHomebrew/framely/main/install.sh | bash -s -- install +curl -fsSL https://github.com/SteamFramelyHomebrew/framely/releases/latest/download/install.sh | bash -s -- install ``` 指定 Preview 或其他标签: diff --git a/install.sh b/install.sh index bfeadfc..5271157 100644 --- a/install.sh +++ b/install.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Public bootstrap: curl -fsSL https://raw.githubusercontent.com/SteamFramelyHomebrew/framely/main/install.sh | bash +# Public bootstrap: curl -fsSL https://github.com/SteamFramelyHomebrew/framely/releases/latest/download/install.sh | bash set -euo pipefail repo=${FRAMELY_REPOSITORY:-SteamFramelyHomebrew/framely} [[ $repo =~ ^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$ ]] || { echo 'Invalid repository.' >&2; exit 1; }