mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-09 13:13:21 +08:00
Use more intimate terms
This commit is contained in:
@@ -1,71 +1,20 @@
|
||||
# ---------------------------------------------------------------
|
||||
# Doc Type : Text
|
||||
# Doc Name : (Tools Introduction.md)
|
||||
# Doc Authors : xuan <wick.dynex@qq.com>
|
||||
# | ChatGPT <https://chatgpt.com>
|
||||
# Contributors : Aoran Zeng <ccmywish@qq.com>
|
||||
# |
|
||||
# Created On : <2024-10-25>
|
||||
# Last Modified : <2024-10-26>
|
||||
# Last Modified : <2025-07-12>
|
||||
#
|
||||
# tool目录文档
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
###########################################################################
|
||||
# chsrc 相关工具
|
||||
###########################################################################
|
||||
|
||||
************
|
||||
1. 概述
|
||||
************
|
||||
|
||||
此文件夹包含许多与安装 chsrc 二进制文件相关的脚本工具,您可以使用这些工具指定目录路径和发布版本。
|
||||
|
||||
********
|
||||
2. 文件
|
||||
文件
|
||||
********
|
||||
|
||||
installer.sh Bash 编写的一键安装工具
|
||||
installer.ps1 Powershell 编写的一键安装工具
|
||||
README.txt 此文件
|
||||
|
||||
*******************
|
||||
3. 安装
|
||||
*******************
|
||||
|
||||
步骤1:输入“sudo chmod u+x ./install.sh”以使脚本可执行。
|
||||
|
||||
步骤2:输入“./install.sh [-h] [-d <install_directory>] [-v <version>] [-l <language>]”指定安装路径,发布版本和脚本语言。
|
||||
|
||||
步骤3:如果出现错误,请检查您的网络连接并确保您可以访问Gitee。
|
||||
|
||||
|
||||
|
||||
#####################################################################
|
||||
# chsrc realated tools
|
||||
# English Version
|
||||
#####################################################################
|
||||
|
||||
************
|
||||
1. Overview
|
||||
************
|
||||
|
||||
This folder contains many script tools realated to install chsrc binary file,
|
||||
you can use the tools to specify directory path and release version.
|
||||
|
||||
********
|
||||
2. Files
|
||||
********
|
||||
|
||||
installer.sh One-key install tool in Bash
|
||||
installer.ps1 One-key install tool in PowerShell
|
||||
README.txt This file
|
||||
|
||||
*******************
|
||||
3. Install
|
||||
*******************
|
||||
|
||||
Step 1: Type "sudo chmod u+x ./install.sh" to make scrpit executable.
|
||||
|
||||
Step 2: Type "./install.sh [-h] [-d <install_directory>] [-v <version>] [-l <language>]" to specify install path and release version also language.
|
||||
|
||||
Step 3: If an error occurs, please check your internet connection and ensure that you can access Gitee.
|
||||
|
@@ -166,7 +166,7 @@ set_arch() {
|
||||
armv7*) arch="armv7" ;;
|
||||
*)
|
||||
if is_zh; then
|
||||
warn "抱歉, 暂无预编译二进制文件供您的架构: ${arch} 使用。请使用 chsrc-bootstrap 或 自行编译:"
|
||||
warn "抱歉, 暂无预编译二进制文件供你所在的平台架构: ${arch} 使用。请使用 chsrc-bootstrap 或 自行编译:"
|
||||
else
|
||||
warn "Sorry, No precompiled binaries for your arch: ${arch}. Please compile it on your own:"
|
||||
fi
|
||||
@@ -209,7 +209,7 @@ set_platform() {
|
||||
;;
|
||||
*)
|
||||
if is_zh; then
|
||||
error_exit "抱歉,暂无预编译二进制文件供您的平台: ${platform} 使用。请使用 chsrc-bootstrap 或 自行编译:"
|
||||
error_exit "抱歉,暂无预编译二进制文件供你所在的平台: ${platform} 使用。请使用 chsrc-bootstrap 或 自行编译:"
|
||||
else
|
||||
error_exit "Sorry, No precompiled binaries for your platform: ${platform}. Please compile it on your own:"
|
||||
fi
|
||||
@@ -364,7 +364,7 @@ install() {
|
||||
fi
|
||||
else
|
||||
if is_zh; then
|
||||
error_exit "下载失败,请检查您的网络连接和代理设置: ${url}"
|
||||
error_exit "下载失败,请检查网络连接和代理设置: ${url}"
|
||||
else
|
||||
error_exit "Download failed, please check your network connection and proxy settings: ${url}"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user