mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-19 06:09:37 +08:00
Inform users that they can install the older version
This commit is contained in:
parent
0df9d54b27
commit
ed402a22ff
4
.github/ISSUE_TEMPLATE/01-Report_Bug.yml
vendored
4
.github/ISSUE_TEMPLATE/01-Report_Bug.yml
vendored
@ -9,6 +9,10 @@ body:
|
|||||||
value: |
|
value: |
|
||||||
感谢您花时间填写此 Bug 报告!
|
感谢您花时间填写此 Bug 报告!
|
||||||
|
|
||||||
|
1. 有时您是通过包管理器安装的 `chsrc`,其版本往往稍旧,您可先尝试使用REAME中提供的安装命令来获取最新版本
|
||||||
|
|
||||||
|
2. 有时 Bug 是在最新版本中引入的,此时您可在安装命令时指定 `-v` 参数临时使用旧版本解决燃眉之急,详情查看README
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: what-did-you-do
|
id: what-did-you-do
|
||||||
attributes:
|
attributes:
|
||||||
|
15
README.md
15
README.md
@ -7,7 +7,7 @@
|
|||||||
! Contributors : Mikachu2333 <mikachu.23333@zohomail.com>
|
! Contributors : Mikachu2333 <mikachu.23333@zohomail.com>
|
||||||
! |
|
! |
|
||||||
! Created On : <2023-12-28>
|
! Created On : <2023-12-28>
|
||||||
! Last Modified : <2025-07-11>
|
! Last Modified : <2025-07-12>
|
||||||
! ---------------------------------------------------------- -->
|
! ---------------------------------------------------------- -->
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
@ -139,6 +139,9 @@ winget install RubyMetric.chsrc
|
|||||||
若下方链接无法访问,可使用 `https://gitee.com/RubyMetric/chsrc/raw/main/tool/installer.ps1` 替代
|
若下方链接无法访问,可使用 `https://gitee.com/RubyMetric/chsrc/raw/main/tool/installer.ps1` 替代
|
||||||
|
|
||||||
```PowerShell
|
```PowerShell
|
||||||
|
# 您可通过 -Version 参数
|
||||||
|
# 1. 安装 pre 版本; 这比从包管理器安装的总是更新一些
|
||||||
|
# 2. 安装旧版本; 有时新版本可能引入某些 Bug,临时使用旧版本解决燃眉之急
|
||||||
"& { $(iwr -useb https://chsrc.run/windows) } -Version pre" | iex
|
"& { $(iwr -useb https://chsrc.run/windows) } -Version pre" | iex
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -197,6 +200,11 @@ $ curl https://chsrc.run/posix | sudo bash
|
|||||||
# 使用 -d 指定目录安装
|
# 使用 -d 指定目录安装
|
||||||
$ curl https://chsrc.run/posix | bash -s -- -d ./
|
$ curl https://chsrc.run/posix | bash -s -- -d ./
|
||||||
|
|
||||||
|
# 使用 -v 指定版本 (不指定时默认为 pre)
|
||||||
|
# 1. 安装 pre 版本; 这比从包管理器安装的总是更新一些
|
||||||
|
# 2. 安装旧版本; 有时新版本可能引入某些 Bug,临时使用旧版本解决燃眉之急
|
||||||
|
$ curl https://chsrc.run/posix | bash -s -- -v 0.2.1
|
||||||
|
|
||||||
# 使用 -l en 输出英文
|
# 使用 -l en 输出英文
|
||||||
$ curl https://chsrc.run/posix | bash -s -- -l en
|
$ curl https://chsrc.run/posix | bash -s -- -l en
|
||||||
```
|
```
|
||||||
@ -246,6 +254,11 @@ $ curl https://chsrc.run/posix | sudo bash
|
|||||||
# 使用 -d 指定目录安装
|
# 使用 -d 指定目录安装
|
||||||
$ curl https://chsrc.run/posix | bash -s -- -d ./
|
$ curl https://chsrc.run/posix | bash -s -- -d ./
|
||||||
|
|
||||||
|
# 使用 -v 指定版本 (不指定时默认为 pre)
|
||||||
|
# 1. 安装 pre 版本; 这比从包管理器安装的总是更新一些
|
||||||
|
# 2. 安装旧版本; 有时新版本可能引入某些 Bug,临时使用旧版本解决燃眉之急
|
||||||
|
$ curl https://chsrc.run/posix | bash -s -- -v 0.2.1
|
||||||
|
|
||||||
# 使用 -l en 输出英文
|
# 使用 -l en 输出英文
|
||||||
$ curl https://chsrc.run/posix | bash -s -- -l en
|
$ curl https://chsrc.run/posix | bash -s -- -l en
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user