mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(installer): make active venv error red instead of yellow
This commit is contained in:
parent
49b74d189e
commit
e9d7e6bdd5
@ -6,6 +6,7 @@ BCYAN="\e[1;36m"
|
|||||||
BBLUE="\e[1;34m"
|
BBLUE="\e[1;34m"
|
||||||
BYELLOW="\e[1;33m"
|
BYELLOW="\e[1;33m"
|
||||||
BGREEN="\e[1;32m"
|
BGREEN="\e[1;32m"
|
||||||
|
BRED="\e[1;31m"
|
||||||
RED="\e[31m"
|
RED="\e[31m"
|
||||||
RESET="\e[0m"
|
RESET="\e[0m"
|
||||||
|
|
||||||
@ -40,7 +41,7 @@ fi
|
|||||||
if [[ -v "VIRTUAL_ENV" ]]; then
|
if [[ -v "VIRTUAL_ENV" ]]; then
|
||||||
# we can't just call 'deactivate' because this function is not exported
|
# we can't just call 'deactivate' because this function is not exported
|
||||||
# to the environment of this script from the bash process that runs the script
|
# to the environment of this script from the bash process that runs the script
|
||||||
echo -e "${BYELLOW}A virtual environment is activated. Please deactivate it before proceeding.${RESET}"
|
echo -e "${BRED}A virtual environment is activated. Please deactivate it before proceeding.${RESET}"
|
||||||
exit -1
|
exit -1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user