Skip to content

Commit

Permalink
Better output
Browse files Browse the repository at this point in the history
  • Loading branch information
ccmywish committed Dec 7, 2024
1 parent ca485c5 commit 18c2313
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@
<details>
<summary>Windows</summary>

<div style="margin-top: 20px"></div>

- 可通过 `scoop` 安装,感谢 [@Gn3po4g][@niheaven]

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

<div style="margin-top: 20px"></div>

- 支持 `AUR`,可通过 `yay` 安装,感谢 [@Jerry-Terrasse]

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

<div style="margin-top: 20px"></div>

- 可通过 `homebrew` 安装,感谢 [@Aaron-212][@chenrui333]

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

<div style="margin-top: 20px"></div>

```bash
$ git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc
$ clang -Iinclude src/chsrc-main.c -o chsrc
Expand All @@ -243,8 +235,6 @@ $ clang -Iinclude src/chsrc-main.c -o chsrc
<details>
<summary>其他平台</summary>

<div style="margin-top: 20px"></div>

```bash
$ git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc; make
```
Expand Down
6 changes: 3 additions & 3 deletions tool/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Contributors : Aoran Zeng <[email protected]>
# |
# Created On : <2024-10-25>
# Last Modified : <2024-10-26>
# Last Modified : <2024-12-08>
#
# chsrc installer for Linux & macOS
# ---------------------------------------------------------------
Expand Down Expand Up @@ -171,9 +171,9 @@ install() {
path_to_executable="${userOpt_install_dir}/${binary_name}"

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

if curl -sL "$url" -o "$path_to_executable"; then
Expand Down

0 comments on commit 18c2313

Please sign in to comment.