Skip to content

Commit 9ebec82

Browse files
committed
docs: remove go install method from READMEs
go install bypasses ldflags and produces binaries that cannot be reliably updated via `flashduty update`. Keep install scripts and manual download as the supported installation methods.
1 parent bc4cd81 commit 9ebec82

2 files changed

Lines changed: 0 additions & 22 deletions

File tree

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,6 @@ curl -sSL https://raw.githubusercontent.com/flashcatcloud/flashduty-cli/main/ins
2020
irm https://raw.githubusercontent.com/flashcatcloud/flashduty-cli/main/install.ps1 | iex
2121
```
2222

23-
### Go Install
24-
25-
```bash
26-
go install github.com/flashcatcloud/flashduty-cli/cmd/flashduty@latest
27-
```
28-
29-
> Make sure `$(go env GOPATH)/bin` is in your `PATH`. If `flashduty` is not found after install, run:
30-
> ```bash
31-
> export PATH="$(go env GOPATH)/bin:$PATH"
32-
> ```
33-
3423
### Manual Download
3524

3625
Download the latest release for your platform from [GitHub Releases](https://github.com/flashcatcloud/flashduty-cli/releases).

README_zh.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,6 @@ curl -sSL https://raw.githubusercontent.com/flashcatcloud/flashduty-cli/main/ins
2020
irm https://raw.githubusercontent.com/flashcatcloud/flashduty-cli/main/install.ps1 | iex
2121
```
2222

23-
### Go Install
24-
25-
```bash
26-
go install github.com/flashcatcloud/flashduty-cli/cmd/flashduty@latest
27-
```
28-
29-
> 确保 `$(go env GOPATH)/bin` 在您的 `PATH` 中。如果安装后找不到 `flashduty`,请运行:
30-
> ```bash
31-
> export PATH="$(go env GOPATH)/bin:$PATH"
32-
> ```
33-
3423
### 手动下载
3524

3625
[GitHub Releases](https://github.com/flashcatcloud/flashduty-cli/releases) 下载适合您平台的最新版本。

0 commit comments

Comments
 (0)