mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2025-01-08 11:57:36 +08:00
fix(installer): Print maximize suggestion when Python is found, not when it's missing
This commit is contained in:
parent
2430137d19
commit
2d5afe8094
@ -30,10 +30,11 @@ done
|
|||||||
if [ -z "$PYTHON" ]; then
|
if [ -z "$PYTHON" ]; then
|
||||||
echo "A suitable Python interpreter could not be found"
|
echo "A suitable Python interpreter could not be found"
|
||||||
echo "Please install Python $MINIMUM_PYTHON_VERSION or higher (maximum $MAXIMUM_PYTHON_VERSION) before running this script. See instructions at $INSTRUCTIONS for help."
|
echo "Please install Python $MINIMUM_PYTHON_VERSION or higher (maximum $MAXIMUM_PYTHON_VERSION) before running this script. See instructions at $INSTRUCTIONS for help."
|
||||||
echo "For the best user experience we suggest enlarging or maximizing this window now."
|
|
||||||
read -p "Press any key to exit"
|
read -p "Press any key to exit"
|
||||||
exit -1
|
exit -1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "For the best user experience we suggest enlarging or maximizing this window now."
|
||||||
|
|
||||||
exec $PYTHON ./lib/main.py ${@}
|
exec $PYTHON ./lib/main.py ${@}
|
||||||
read -p "Press any key to exit"
|
read -p "Press any key to exit"
|
||||||
|
Loading…
Reference in New Issue
Block a user