From 18c23138cd8175ce263ea4ec360dee9788c71bdc Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Sun, 8 Dec 2024 00:13:41 +0800 Subject: [PATCH] Better output --- README.md | 10 ---------- tool/installer.sh | 6 +++--- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index f0e40cb..3f552d6 100644 --- a/README.md +++ b/README.md @@ -100,8 +100,6 @@
Windows -
- - 可通过 `scoop` 安装,感谢 [@Gn3po4g] 与 [@niheaven] ```bash @@ -134,8 +132,6 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x86-windo
Linux -
- - 支持 `AUR`,可通过 `yay` 安装,感谢 [@Jerry-Terrasse] ```bash @@ -188,8 +184,6 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-armv7-lin
macOS -
- - 可通过 `homebrew` 安装,感谢 [@Aaron-212] 与 [@chenrui333] ```bash @@ -232,8 +226,6 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-macos
BSD -
- ```bash $ git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc $ clang -Iinclude src/chsrc-main.c -o chsrc @@ -243,8 +235,6 @@ $ clang -Iinclude src/chsrc-main.c -o chsrc
其他平台 -
- ```bash $ git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc; make ``` diff --git a/tool/installer.sh b/tool/installer.sh index d916962..6c71cbd 100644 --- a/tool/installer.sh +++ b/tool/installer.sh @@ -7,7 +7,7 @@ # Contributors : Aoran Zeng # | # Created On : <2024-10-25> -# Last Modified : <2024-10-26> +# Last Modified : <2024-12-08> # # chsrc installer for Linux & macOS # --------------------------------------------------------------- @@ -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