Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` 会显示本机版本;有更新时给出本平台的升级命令。也可以随时运行
Expand Down
17 changes: 1 addition & 16 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
14 changes: 1 addition & 13 deletions docs/install.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 暂未提供。

## 平台边界

Expand Down
2 changes: 1 addition & 1 deletion engine/internal/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions site/guide/book.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 0 additions & 2 deletions site/guide/install.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ <h2 id="other-ways">Other ways to install</h2>
<caption class="sr-only">Installation channels</caption>
<thead><tr><th scope="col">Channel</th><th scope="col">Command</th><th scope="col">What it is for</th></tr></thead>
<tbody>
<tr><th scope="row">go install</th><td><code>go install github.com/sheathedsharp/option-berth/engine/cmd/oberth@latest</code></td><td>Go 1.25 or newer. It installs into <code>GOPATH/bin</code> and needs only a module proxy.</td></tr>
<tr><th scope="row">Homebrew</th><td><code>brew install sheathedsharp/tap/oberth</code></td><td>The engine CLI from a self-hosted tap. It is not in homebrew-core.</td></tr>
<tr><th scope="row">Release archive</th><td>download, verify <code>SHA256SUMS</code>, put it on PATH</td><td>For when you would rather not run a script.</td></tr>
<tr><th scope="row">Linux packages</th><td><code>.deb</code> or <code>.rpm</code></td><td>Distribution-managed installs. Details are in the install contract.</td></tr>
</tbody>
Expand Down
2 changes: 0 additions & 2 deletions site/guide/install.zh.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ <h2 id="other-ways">其他安装方式</h2>
<caption class="sr-only">安装渠道</caption>
<thead><tr><th scope="col">渠道</th><th scope="col">命令</th><th scope="col">适合什么</th></tr></thead>
<tbody>
<tr><th scope="row">go install</th><td><code>go install github.com/sheathedsharp/option-berth/engine/cmd/oberth@latest</code></td><td>Go 1.25 或更新。装进 <code>GOPATH/bin</code>,有模块代理即可。</td></tr>
<tr><th scope="row">Homebrew</th><td><code>brew install sheathedsharp/tap/oberth</code></td><td>自托管 tap 提供的引擎 CLI,还没有进 homebrew-core。</td></tr>
<tr><th scope="row">发布包</th><td>下载、核对 <code>SHA256SUMS</code>、放进 PATH</td><td>不想运行脚本时。</td></tr>
<tr><th scope="row">Linux 包</th><td><code>.deb</code> 或 <code>.rpm</code></td><td>交给发行版管理。细节在安装契约里。</td></tr>
</tbody>
Expand Down
Loading