diff --git a/README.md b/README.md index a9d28744..639fe6e0 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Windows (PowerShell): irm https://raw.githubusercontent.com/SheathedSharp/option-berth/main/install.ps1 | iex ``` -Homebrew, Linux `.deb`/`.rpm`, pinned versions, uninstall, upgrades and the platform +Linux `.deb`/`.rpm`, pinned versions, uninstall, upgrades and the platform boundaries are in [Install and uninstall](docs/install.md). The scripts only download and verify release archives: they start no service and write no Git data. diff --git a/README.zh.md b/README.zh.md index 60e1874f..75b7bb32 100644 --- a/README.zh.md +++ b/README.zh.md @@ -72,7 +72,7 @@ Windows(PowerShell): irm https://raw.githubusercontent.com/SheathedSharp/option-berth/main/install.ps1 | iex ``` -Homebrew、Linux `.deb`/`.rpm`、固定版本、卸载、升级与各平台边界见 +Linux `.deb`/`.rpm`、固定版本、卸载、升级与各平台边界见 [安装与卸载](docs/install.zh.md)。安装脚本只下载并校验发布包:不启动服务,也不写 Git。 直接运行 `oberth` 会显示本机版本;有更新时给出本平台的升级命令。也可以随时运行 diff --git a/docs/install.md b/docs/install.md index 4746b460..18cf0eca 100644 --- a/docs/install.md +++ b/docs/install.md @@ -85,19 +85,6 @@ Pin a version or leave PATH alone: `.\install.ps1 -Version v1.0.0 -NoModifyPath` Before replacing files, the Windows installer checks whether `oberth` / `jev-attention` are running; if they are, it runs `oberth daemon stop` first and then reinstalls. -## Homebrew - -A self-hosted tap, so there is no need to wait for homebrew-core inclusion. It installs the engine CLI -(`oberth` and `jev-attention`), not the macOS client. The formula points at published archives, with -checksums recorded in the tap. - -```sh -brew install sheathedsharp/tap/oberth -``` - -Upgrade with `brew upgrade oberth`. `brew install option-berth` still waits on homebrew-core inclusion, -which does not exist yet. - ## Download a release manually When you would rather not run a script, download the archive for your platform from @@ -205,13 +192,11 @@ answers, the terminal paths show only the local version and never present it as ## Channels not yet available -- **Homebrew core**: `brew install option-berth` needs homebrew-core inclusion, which is not available - yet. The self-hosted tap is described in the Homebrew section above. - **Scoop**: needs a separate bucket repository, which this repository does not maintain. - **winget**: needs a submission to microsoft/winget-pkgs and review for every version update. - **Chocolatey**: needs a community package repository and review, similar to winget. -The currently available paths are the scripts above, the Homebrew tap, manual release downloads and the +The currently available paths are the scripts above, manual release downloads and the Linux `.deb`/`.rpm`. A Windows MSI is not available yet. ## Platform boundaries diff --git a/docs/install.zh.md b/docs/install.zh.md index 80e69002..e8f69b16 100644 --- a/docs/install.zh.md +++ b/docs/install.zh.md @@ -80,17 +80,6 @@ irm https://raw.githubusercontent.com/SheathedSharp/option-berth/main/install.ps Windows 安装器在替换文件前会检查 `oberth` / `jev-attention` 是否正在运行; 正在运行就先执行 `oberth daemon stop`,再重新安装。 -## Homebrew - -自建 tap,不需要等 homebrew-core 收录。它安装引擎 CLI(`oberth` 和 `jev-attention`), -不是 macOS 客户端。formula 指向已发布的压缩包,校验和写在 tap 里。 - -```sh -brew install sheathedsharp/tap/oberth -``` - -升级用 `brew upgrade oberth`。`brew install option-berth` 仍然要等 homebrew-core 收录,现在没有。 - ## 手动下载发布包 不想执行脚本时,从 [Releases](https://github.com/SheathedSharp/option-berth/releases) @@ -192,12 +181,11 @@ CLI 调用会启动新版本。Windows 先停止正在运行的 `oberth`,再 ## 尚未提供的渠道 -- **Homebrew core**:`brew install option-berth` 需要 homebrew-core 收录,暂未提供。自建 tap 见上面的 Homebrew 一节。 - **Scoop**:需要单独的 bucket 仓库,本仓库不维护。 - **winget**:需要向 microsoft/winget-pkgs 提交并过审,每个版本更新。 - **Chocolatey**:需要社区包仓库与审核,和 winget 类似。 -当前可用方式见上面的脚本、Homebrew tap、手动发布包与 Linux `.deb`/`.rpm`。Windows MSI 暂未提供。 +当前可用方式见上面的脚本、手动发布包与 Linux `.deb`/`.rpm`。Windows MSI 暂未提供。 ## 平台边界 diff --git a/engine/internal/cmd/root.go b/engine/internal/cmd/root.go index c6a4bd6e..d35d0495 100644 --- a/engine/internal/cmd/root.go +++ b/engine/internal/cmd/root.go @@ -237,7 +237,7 @@ var rootCmd = &cobra.Command{ } printWelcome(cmd.OutOrStdout(), welcomeVersion()) // The first screen is the only place the product asks. It is also the - // only place that reaches every install channel — the scripts, brew and + // only place that reaches every install channel — the scripts and // deb/rpm all end up running this binary. askFeedbackOnce() return nil diff --git a/site/guide/book.json b/site/guide/book.json index c375da22..bce56cb9 100644 --- a/site/guide/book.json +++ b/site/guide/book.json @@ -136,13 +136,13 @@ "nav": "Install", "title": "Install oberth", "lede": "One binary, no model account, and no service started by the installer. Confirm the build with version and doctor, then declare your first worktree.", - "summary": "The one-line script, go install, Homebrew, release archives, and the platform support." + "summary": "The one-line script, release archives, Linux packages, and the platform support." }, "zh": { "nav": "安装", "title": "安装 oberth", "lede": "一个二进制,不需要模型账号,安装脚本不会启动任何服务。用 version 和 doctor 确认构建,再去声明第一个 worktree。", - "summary": "一行脚本、go install、Homebrew、发布包,以及平台支持。" + "summary": "一行脚本、发布包、Linux 包,以及平台支持。" } }, "refs": [ diff --git a/site/guide/install.en.html b/site/guide/install.en.html index c390a565..2fcd6445 100644 --- a/site/guide/install.en.html +++ b/site/guide/install.en.html @@ -26,8 +26,6 @@

Other ways to install

Installation channels ChannelCommandWhat it is for - go installgo install github.com/sheathedsharp/option-berth/engine/cmd/oberth@latestGo 1.25 or newer. It installs into GOPATH/bin and needs only a module proxy. - Homebrewbrew install sheathedsharp/tap/oberthThe engine CLI from a self-hosted tap. It is not in homebrew-core. Release archivedownload, verify SHA256SUMS, put it on PATHFor when you would rather not run a script. Linux packages.deb or .rpmDistribution-managed installs. Details are in the install contract. diff --git a/site/guide/install.zh.html b/site/guide/install.zh.html index 4569c421..2ae9c59a 100644 --- a/site/guide/install.zh.html +++ b/site/guide/install.zh.html @@ -26,8 +26,6 @@

其他安装方式

安装渠道 渠道命令适合什么 - go installgo install github.com/sheathedsharp/option-berth/engine/cmd/oberth@latestGo 1.25 或更新。装进 GOPATH/bin,有模块代理即可。 - Homebrewbrew install sheathedsharp/tap/oberth自托管 tap 提供的引擎 CLI,还没有进 homebrew-core。 发布包下载、核对 SHA256SUMS、放进 PATH不想运行脚本时。 Linux 包.deb 或 .rpm交给发行版管理。细节在安装契约里。