Skip to content

Commit 18c2313

Browse files
committed
Better output
1 parent ca485c5 commit 18c2313

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@
100100
<details>
101101
<summary>Windows</summary>
102102

103-
<div style="margin-top: 20px"></div>
104-
105103
- 可通过 `scoop` 安装,感谢 [@Gn3po4g][@niheaven]
106104

107105
```bash
@@ -134,8 +132,6 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x86-windo
134132
<details>
135133
<summary>Linux</summary>
136134

137-
<div style="margin-top: 20px"></div>
138-
139135
- 支持 `AUR`,可通过 `yay` 安装,感谢 [@Jerry-Terrasse]
140136

141137
```bash
@@ -188,8 +184,6 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-armv7-lin
188184
<details>
189185
<summary>macOS</summary>
190186

191-
<div style="margin-top: 20px"></div>
192-
193187
- 可通过 `homebrew` 安装,感谢 [@Aaron-212][@chenrui333]
194188

195189
```bash
@@ -232,8 +226,6 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-macos
232226
<details>
233227
<summary>BSD</summary>
234228

235-
<div style="margin-top: 20px"></div>
236-
237229
```bash
238230
$ git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc
239231
$ clang -Iinclude src/chsrc-main.c -o chsrc
@@ -243,8 +235,6 @@ $ clang -Iinclude src/chsrc-main.c -o chsrc
243235
<details>
244236
<summary>其他平台</summary>
245237

246-
<div style="margin-top: 20px"></div>
247-
248238
```bash
249239
$ git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc; make
250240
```

tool/installer.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Contributors : Aoran Zeng <[email protected]>
88
# |
99
# Created On : <2024-10-25>
10-
# Last Modified : <2024-10-26>
10+
# Last Modified : <2024-12-08>
1111
#
1212
# chsrc installer for Linux & macOS
1313
# ---------------------------------------------------------------
@@ -171,9 +171,9 @@ install() {
171171
path_to_executable="${userOpt_install_dir}/${binary_name}"
172172

173173
if [ "$userOpt_lang" = "zh" ]; then
174-
info "下载 ${binary_name} (${arch} 架构, ${platform} 平台, ${userOpt_version}版本) 到 ${path_to_executable}"
174+
info "下载 ${binary_name} (架构: ${arch}, 平台: ${platform}, 版本: ${userOpt_version}) 到 ${path_to_executable}"
175175
else
176-
info "Downloading ${binary_name} (${arch} architecture, ${platform} platform, version ${userOpt_version}) to ${path_to_executable}"
176+
info "Downloading ${binary_name} (architecture: ${arch}, platform: ${platform}, version: ${userOpt_version}) to ${path_to_executable}"
177177
fi
178178

179179
if curl -sL "$url" -o "$path_to_executable"; then

0 commit comments

Comments
 (0)