diff --git a/install.sh b/install.sh index 6e03069..476edc3 100755 --- a/install.sh +++ b/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