mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-19 13:54:29 +05:00
refactor(klipper): recommend Python3 for Klipper installation (#246)
This commit is contained in:
@@ -57,13 +57,13 @@ function start_klipper_setup() {
|
|||||||
read -p "${cyan}###### Select Python version:${white} " input
|
read -p "${cyan}###### Select Python version:${white} " input
|
||||||
case "${input}" in
|
case "${input}" in
|
||||||
1)
|
1)
|
||||||
select_msg "Python 2.7\n"
|
|
||||||
python_version=2
|
|
||||||
break;;
|
|
||||||
2)
|
|
||||||
select_msg "Python 3.x\n"
|
select_msg "Python 3.x\n"
|
||||||
python_version=3
|
python_version=3
|
||||||
break;;
|
break;;
|
||||||
|
2)
|
||||||
|
select_msg "Python 2.7\n"
|
||||||
|
python_version=2
|
||||||
|
break;;
|
||||||
B|b)
|
B|b)
|
||||||
clear; install_menu; break;;
|
clear; install_menu; break;;
|
||||||
*)
|
*)
|
||||||
@@ -153,8 +153,8 @@ function print_dialog_user_select_python_version() {
|
|||||||
echo -e "| Installing Klipper with Python 3 is officially not | "
|
echo -e "| Installing Klipper with Python 3 is officially not | "
|
||||||
echo -e "| recommended and should be considered as experimental. | "
|
echo -e "| recommended and should be considered as experimental. | "
|
||||||
hr
|
hr
|
||||||
echo -e "| 1) [Python 2.7] (recommended) | "
|
echo -e "| 1) [Python 3.x] (recommended) | "
|
||||||
echo -e "| 2) [Python 3.x] ${yellow}(experimental)${white} | "
|
echo -e "| 2) [Python 2.7] ${yellow}(legacy)${white} | "
|
||||||
back_footer
|
back_footer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user