mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-15 03:24:29 +05:00
fix.: make warning more clear
This commit is contained in:
@@ -19,8 +19,12 @@ check_klipper_cfg_path(){
|
|||||||
echo -e "| ${red}!!! WARNING !!!${default} |"
|
echo -e "| ${red}!!! WARNING !!!${default} |"
|
||||||
echo -e "| ${red}No Klipper configuration directory set!${default} |"
|
echo -e "| ${red}No Klipper configuration directory set!${default} |"
|
||||||
hr
|
hr
|
||||||
echo -e "| Before we can continue, you need to specify a folder |"
|
echo -e "| Before we can continue, KIAUH needs to know where |"
|
||||||
echo -e "| where your Klipper configuration(s) will be stored! |"
|
echo -e "| you want your printer configuration to be. |"
|
||||||
|
blank_line
|
||||||
|
echo -e "| Please specify a folder where your Klipper configu- |"
|
||||||
|
echo -e "| ration is stored or, if you don't have one yet, in |"
|
||||||
|
echo -e "| which it should be saved after the installation. |"
|
||||||
bottom_border
|
bottom_border
|
||||||
change_klipper_cfg_path
|
change_klipper_cfg_path
|
||||||
fi
|
fi
|
||||||
@@ -33,7 +37,7 @@ change_klipper_cfg_path(){
|
|||||||
while true; do
|
while true; do
|
||||||
top_border
|
top_border
|
||||||
echo -e "| ${red}IMPORTANT:${default} |"
|
echo -e "| ${red}IMPORTANT:${default} |"
|
||||||
echo -e "| Please enter the new path in the following form: |"
|
echo -e "| Please enter the new path in the following format: |"
|
||||||
printf "| ${yellow}%-51s${default} |\n" "$EXAMPLE_FOLDER"
|
printf "| ${yellow}%-51s${default} |\n" "$EXAMPLE_FOLDER"
|
||||||
blank_line
|
blank_line
|
||||||
echo -e "| By default 'klipper_config' is recommended! |"
|
echo -e "| By default 'klipper_config' is recommended! |"
|
||||||
|
|||||||
Reference in New Issue
Block a user