mirror of
https://gitee.com/ineo6/homebrew-install.git
synced 2025-04-05 19:41:45 +08:00
feat: 添加帮助提示
This commit is contained in:
parent
3d8bbf5a75
commit
55324dfa88
34
install.sh
34
install.sh
@ -545,6 +545,40 @@ if [[ "$HOMEBREW_CORE_DEFAULT_GIT_REMOTE" != "$HOMEBREW_CORE_GIT_REMOTE" ]]; the
|
||||
additional_shellenv_commands+=("export HOMEBREW_CORE_GIT_REMOTE=\"$HOMEBREW_CORE_GIT_REMOTE\"")
|
||||
fi
|
||||
|
||||
ohai "安装提示"
|
||||
|
||||
echo "中文安装教程(建议收藏):https://brew.idayer.com/"
|
||||
|
||||
echo "如果你想换源,可以使用镜像助手:https://brew.idayer.com/guide/change-source/"
|
||||
|
||||
echo
|
||||
|
||||
echo "安装遇到问题,可以通过讨论群寻求帮助。"
|
||||
|
||||
echo "也欢迎加群讨论,扫码关注公众号(湖中剑),回复'brew'加入讨论群。"
|
||||
|
||||
echo "
|
||||
█████████████████████████████████████
|
||||
█████████████████████████████████████
|
||||
████ ▄▄▄▄▄ █▀█ █▄▀▄ ▄ ▄▄██ ▄▄▄▄▄ ████
|
||||
████ █ █ █▀▀▀█ ▀█▀▀▀▀▄▀█ █ █ ████
|
||||
████ █▄▄▄█ █▀ █▀▀█▄▀ █▀▄ █ █▄▄▄█ ████
|
||||
████▄▄▄▄▄▄▄█▄▀ ▀▄█▄▀ █▄▀ █▄▄▄▄▄▄▄████
|
||||
████ ▀▄▄▄▄▀▄▀▄▄█▀▀█ █ ▀ ▀▄█▄▀████
|
||||
████ ▀█▄▀▀▄ █▄█▀█ ▄██ █ ▀ ▄▄██▀█████
|
||||
████ █ █▄ ▄ ▄█▄ ▀ ██ ▀ ▀▀▀▄ █▀████
|
||||
████ ██▄██▄▀ █ ▄█▀ ▄▄▀▀ ▀ █▄█▄▀█████
|
||||
████ ▄ ▀▄▄▄▀█▄ ▄▀ ▀ ▀█▀ ▀▀ █▀████
|
||||
████ █ ▀▀▀▄█▄█▄█▀█▀▄ █▀▀▄▄█▄▄▄▄▀█████
|
||||
████▄██▄▄█▄█▀▀▀█▄█▄ ▀▄▀█ ▄▄▄ ▀ ████
|
||||
████ ▄▄▄▄▄ █▄▀ ▄█▄ ▄▀ █▄█ ▄▀█████
|
||||
████ █ █ █ ▀▄▄ ▀▄ ▀███ ▄▄▄▄ ▄▀ ████
|
||||
████ █▄▄▄█ █ ▄▄▀ ██▄▀▄▀▄ ▀▄ ▄ █████
|
||||
████▄▄▄▄▄▄▄█▄▄█▄▄████▄█████▄▄█▄██████
|
||||
█████████████████████████████████████
|
||||
█████████████████████████████████████
|
||||
"
|
||||
|
||||
if [[ -z "${NONINTERACTIVE-}" ]]; then
|
||||
ring_bell
|
||||
wait_for_user
|
||||
|
Loading…
x
Reference in New Issue
Block a user