diff --git a/.changes/document-per-platform-install.md b/.changes/document-per-platform-install.md new file mode 100644 index 0000000..d84a375 --- /dev/null +++ b/.changes/document-per-platform-install.md @@ -0,0 +1,5 @@ +--- +"@dropout/docs": patch:chore +--- + +Document per-platform installation and download steps in the getting-started guide, covering Windows, macOS, Debian/Ubuntu, Fedora/RHEL, AppImage, AUR, and the Alpine musl archive, plus asset verification and first-launch troubleshooting. diff --git a/README.CN.md b/README.CN.md index c90e30c..4c3a674 100644 --- a/README.CN.md +++ b/README.CN.md @@ -72,6 +72,44 @@ Rust 核心负责副作用。React UI 调用 Tauri 命令并渲染状态。文 --- +## 安装 + +DropOut 的预编译安装包发布在 [Releases 页面](https://github.com/HydroRoll-Team/DropOut/releases)。使用启动器不需要 Rust 或 Node.js,这些只在[从源码构建](#快速开始)时才需要。 + +| 平台 | 架构 | 下载 | 安装方式 | +|---|---|---|---| +| Windows 10/11 | x86_64、ARM64 | NSIS `-setup.exe` | 运行安装程序,然后从开始菜单启动 DropOut。 | +| macOS | Apple Silicon、Intel | `.dmg` | 打开磁盘映像,把 DropOut 拖进 `Applications`。如果首次启动被系统拦截,在「系统设置 → 隐私与安全性」中允许运行。 | +| Debian / Ubuntu | x86_64、ARM64 | `.deb` | `sudo dpkg -i Dropout_*.deb`,缺依赖时再执行 `sudo apt-get install -f`。 | +| Fedora / RHEL | x86_64、ARM64 | `.rpm` | `sudo dnf install ./Dropout-*.rpm` | +| 任意 glibc Linux | x86_64、ARM64 | `.AppImage` | `chmod +x Dropout_*.AppImage && ./Dropout_*.AppImage` | +| Arch Linux | x86_64、ARM64 | AUR `dropout-bin` | `yay -S dropout-bin`(或 `paru -S dropout-bin`) | +| Alpine Linux 3.22 | x86_64 | `-musl.tar.gz` | 先装运行库、校验并解压,再运行 `./dropout`(见下)。 | + +安装包文件名里包含版本和架构,例如 `Dropout_0.2.0-rc.2_amd64.AppImage`;按操作系统和 CPU 后缀(`x64`/`amd64`/`x86_64` 或 `arm64`/`aarch64`)选择对应文件。 + +所有桌面安装包都带有签名构建来源证明,安装前可以校验它确实由本仓库的发布流程产出: + +```bash +gh attestation verify ./downloaded-asset -R HydroRoll-Team/DropOut +``` + +Alpine Linux 需要先安装原生 WebKitGTK 运行库,musl 包才能运行: + +```bash +sudo apk add ca-certificates gtk+3.0 libayatana-appindicator librsvg openssl webkit2gtk-4.1 +sha256sum -c Dropout_*-musl.tar.gz.sha256 +tar -xzf Dropout_*-musl.tar.gz +cd Dropout_*-musl +./dropout +``` + +musl 包动态链接 Alpine 的软件包,在 glibc 发行版上请改用 AppImage、`.deb` 或 `.rpm`。想自己打包,见[构建桌面发布包](#构建桌面发布包)。 + +分平台的详细安装步骤、首次启动流程和故障排查见文档:[简体中文](https://dropout.hydroroll.team/docs/manual/getting-started) · [English](https://dropout.hydroroll.team/en/docs/manual/getting-started)。 + +--- + ## 快速开始 ### 前置条件 diff --git a/README.md b/README.md index 58adb1b..e5f218f 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,44 @@ The Rust core owns side effects. The React UI invokes Tauri commands and renders --- +## Install + +Prebuilt DropOut bundles are published on the [releases page](https://github.com/HydroRoll-Team/DropOut/releases). Running the launcher does not require Rust or Node.js; those are only needed for the [development build](#quick-start). + +| Platform | Architecture | Download | Install | +|---|---|---|---| +| Windows 10/11 | x86_64, ARM64 | NSIS `-setup.exe` | Run the installer, then launch DropOut from the Start menu. | +| macOS | Apple Silicon, Intel | `.dmg` | Open the disk image and drag DropOut into `Applications`. If macOS blocks the first launch, allow it in System Settings → Privacy & Security. | +| Debian / Ubuntu | x86_64, ARM64 | `.deb` | `sudo dpkg -i Dropout_*.deb`, then `sudo apt-get install -f` if dependencies are missing. | +| Fedora / RHEL | x86_64, ARM64 | `.rpm` | `sudo dnf install ./Dropout-*.rpm` | +| Any glibc Linux | x86_64, ARM64 | `.AppImage` | `chmod +x Dropout_*.AppImage && ./Dropout_*.AppImage` | +| Arch Linux | x86_64, ARM64 | AUR `dropout-bin` | `yay -S dropout-bin` (or `paru -S dropout-bin`) | +| Alpine Linux 3.22 | x86_64 | `-musl.tar.gz` | Install the runtime libraries, verify the checksum, extract, and run `./dropout` (see below). | + +Asset names embed the version and architecture, for example `Dropout_0.2.0-rc.2_amd64.AppImage`; pick the file matching your OS and your CPU suffix (`x64`/`amd64`/`x86_64` or `arm64`/`aarch64`). + +Every desktop asset has signed GitHub build provenance, so you can verify that it came from this repository's release workflow before installing: + +```bash +gh attestation verify ./downloaded-asset -R HydroRoll-Team/DropOut +``` + +Alpine Linux needs the native WebKitGTK libraries before the musl archive can start: + +```bash +sudo apk add ca-certificates gtk+3.0 libayatana-appindicator librsvg openssl webkit2gtk-4.1 +sha256sum -c Dropout_*-musl.tar.gz.sha256 && +tar -xzf Dropout_*-musl.tar.gz && +cd Dropout_*-musl && +./dropout +``` + +The musl archive is dynamically linked against Alpine packages; on glibc distributions use the AppImage, `.deb`, or `.rpm` instead. To build a bundle yourself, see [Build A Desktop Release](#build-a-desktop-release). + +Step-by-step install instructions, a first-launch walkthrough, and troubleshooting live in the documentation: [English](https://dropout.hydroroll.team/en/docs/manual/getting-started) · [简体中文](https://dropout.hydroroll.team/docs/manual/getting-started). + +--- + ## Quick Start ### Prerequisites diff --git a/packages/docs/content/en/manual/getting-started.mdx b/packages/docs/content/en/manual/getting-started.mdx index 4a8ccc1..0edab71 100644 --- a/packages/docs/content/en/manual/getting-started.mdx +++ b/packages/docs/content/en/manual/getting-started.mdx @@ -15,8 +15,9 @@ Download the latest prerelease for your platform from the [HydroRoll Team releas | Platform | Release asset | | ------------------------ | ---------------------- | -| Linux x86_64 (glibc) | `.deb`, `.AppImage` | -| Linux ARM64 (glibc) | `.deb`, `.AppImage` | +| Linux x86_64 (glibc) | `.deb`, `.rpm`, `.AppImage` | +| Linux ARM64 (glibc) | `.deb`, `.rpm`, `.AppImage` | +| Arch Linux (AUR) | `dropout-bin` package | | Alpine Linux x86_64 | `-musl.tar.gz` archive | | macOS x86_64 | `.dmg` | | macOS ARM64 | `.dmg` | @@ -41,6 +42,12 @@ sudo dpkg -i Dropout_*.deb sudo apt-get install -f ``` +#### Using .rpm Package + +```bash +sudo dnf install ./Dropout-*.rpm +``` + #### Using AppImage ```bash @@ -48,6 +55,16 @@ chmod +x Dropout_*.AppImage ./Dropout_*.AppImage ``` +#### Using the AUR Package (Arch Linux) + +```bash +yay -S dropout-bin +# or +paru -S dropout-bin +``` + +The `dropout-bin` package is published by this repository's release workflow and tracks the latest release. + #### Using the Alpine Linux musl archive The musl archive targets Alpine Linux 3.22 on x86_64. Install its native WebKitGTK runtime dependencies, extract it, and launch the included binary: @@ -60,7 +77,7 @@ cd Dropout_*-musl ./dropout ``` -The checksum command verifies the packaged archive before extraction. The musl archive is dynamically linked against Alpine packages. Use the AppImage or `.deb` package on glibc distributions such as Ubuntu, Debian, Fedora, or Arch Linux. +The checksum command verifies the packaged archive before extraction. The musl archive is dynamically linked against Alpine packages. Use the AppImage, `.deb`, `.rpm`, or AUR package on glibc distributions such as Ubuntu, Debian, Fedora, or Arch Linux. ### macOS Installation diff --git a/packages/docs/content/zh/manual/getting-started.mdx b/packages/docs/content/zh/manual/getting-started.mdx index ab61b1c..1c23fd2 100644 --- a/packages/docs/content/zh/manual/getting-started.mdx +++ b/packages/docs/content/zh/manual/getting-started.mdx @@ -15,8 +15,9 @@ DropOut 是一个使用 Tauri v2 构建的现代化、可复现、开发者级 | 平台 | 发布产物 | | ------------------------ | ---------------------- | -| Linux x86_64(glibc) | `.deb`、`.AppImage` | -| Linux ARM64(glibc) | `.deb`、`.AppImage` | +| Linux x86_64(glibc) | `.deb`、`.rpm`、`.AppImage` | +| Linux ARM64(glibc) | `.deb`、`.rpm`、`.AppImage` | +| Arch Linux(AUR) | `dropout-bin` 包 | | Alpine Linux x86_64 | `-musl.tar.gz` 压缩包 | | macOS x86_64 | `.dmg` | | macOS ARM64 | `.dmg` | @@ -41,6 +42,12 @@ sudo dpkg -i Dropout_*.deb sudo apt-get install -f ``` +#### 使用 .rpm 包 + +```bash +sudo dnf install ./Dropout-*.rpm +``` + #### 使用 AppImage ```bash @@ -48,6 +55,16 @@ chmod +x Dropout_*.AppImage ./Dropout_*.AppImage ``` +#### 使用 AUR 包(Arch Linux) + +```bash +yay -S dropout-bin +# 或 +paru -S dropout-bin +``` + +`dropout-bin` 包由本仓库的发布工作流推送,跟随最新版本。 + #### 使用 Alpine Linux musl 压缩包 musl 压缩包面向 Alpine Linux 3.22 x86_64 系统。安装原生 WebKitGTK 运行依赖后,解压并启动其中的二进制文件: @@ -60,7 +77,7 @@ cd Dropout_*-musl ./dropout ``` -校验命令会在解压前验证发布包的完整性。musl 压缩包会动态链接 Alpine 软件包。在 Ubuntu、Debian、Fedora 或 Arch Linux 等 glibc 发行版上,请使用 AppImage 或 `.deb` 包。 +校验命令会在解压前验证发布包的完整性。musl 压缩包会动态链接 Alpine 软件包。在 Ubuntu、Debian、Fedora 或 Arch Linux 等 glibc 发行版上,请改用 AppImage、`.deb`、`.rpm` 包或 AUR 包。 ### macOS 安装