File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 77# Contributors : Aoran Zeng <[email protected] >88# |
99# Created On : <2024-10-25>
10- # Last Modified : <2025-03-07 >
10+ # Last Modified : <2025-03-19 >
1111#
1212# chsrc installer for Linux & macOS
1313# ---------------------------------------------------------------
@@ -149,6 +149,17 @@ install() {
149149 case " $platform " in
150150 linux) platform=" linux" ;;
151151 darwin) platform=" macos" ;;
152+ bsd|dragonfly)
153+ platform=" bsd"
154+ if [ " $userOpt_lang " = " zh" ]; then
155+ info " 抱歉, 暂无预编译二进制文件供BSD使用。请自行编译:"
156+ else
157+ info " Sorry, No precompiled binaries for BSD! Please compile it on your own:"
158+ fi
159+ info " $ git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc"
160+ info " $ clang -Iinclude -Ilib src/chsrc-main.c -o chsrc"
161+ exit 1
162+ ;;
152163 * )
153164 if [ " $userOpt_lang " = " zh" ]; then
154165 error " 不支持的平台: ${platform} "
You can’t perform that action at this time.
0 commit comments