mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-08 11:14:03 +08:00
Notify BSD users
This commit is contained in:
parent
f60ab545da
commit
3c9e6c3aaa
@ -7,7 +7,7 @@
|
|||||||
# Contributors : Aoran Zeng <ccmywish@qq.com>
|
# Contributors : Aoran Zeng <ccmywish@qq.com>
|
||||||
# |
|
# |
|
||||||
# Created On : <2024-10-25>
|
# Created On : <2024-10-25>
|
||||||
# Last Modified : <2025-03-07>
|
# Last Modified : <2025-03-19>
|
||||||
#
|
#
|
||||||
# chsrc installer for Linux & macOS
|
# chsrc installer for Linux & macOS
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
@ -149,6 +149,17 @@ install() {
|
|||||||
case "$platform" in
|
case "$platform" in
|
||||||
linux) platform="linux" ;;
|
linux) platform="linux" ;;
|
||||||
darwin) platform="macos" ;;
|
darwin) platform="macos" ;;
|
||||||
|
bsd|dragonfly)
|
||||||
|
platform="bsd"
|
||||||
|
if [ "$userOpt_lang" = "zh" ]; then
|
||||||
|
info "抱歉, 暂无预编译二进制文件供BSD使用。请自行编译:"
|
||||||
|
else
|
||||||
|
info "Sorry, No precompiled binaries for BSD! Please compile it on your own:"
|
||||||
|
fi
|
||||||
|
info "$ git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc"
|
||||||
|
info "$ clang -Iinclude -Ilib src/chsrc-main.c -o chsrc"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
if [ "$userOpt_lang" = "zh" ]; then
|
if [ "$userOpt_lang" = "zh" ]; then
|
||||||
error "不支持的平台: ${platform}"
|
error "不支持的平台: ${platform}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user