mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-13 10:34:28 +05:00
refactor: hide currently still disabled functions from the menus
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
@@ -27,8 +27,10 @@ function install_ui() {
|
|||||||
echo -e "| 3) [Mainsail] | 8) [Telegram Bot] |"
|
echo -e "| 3) [Mainsail] | 8) [Telegram Bot] |"
|
||||||
echo -e "| 4) [Fluidd] | 9) $(obico_install_title) |"
|
echo -e "| 4) [Fluidd] | 9) $(obico_install_title) |"
|
||||||
echo -e "| | |"
|
echo -e "| | |"
|
||||||
echo -e "| Touchscreen GUI: | Webcam Streamer: |"
|
echo -e "| Touchscreen GUI: | |"
|
||||||
echo -e "| 5) [KlipperScreen] | 10) [MJPG-Streamer] |"
|
echo -e "| 5) [KlipperScreen] | |"
|
||||||
|
# echo -e "| Touchscreen GUI: | Webcam Streamer: |"
|
||||||
|
# echo -e "| 5) [KlipperScreen] | 10) [MJPG-Streamer] |"
|
||||||
back_footer
|
back_footer
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -64,11 +66,11 @@ function install_menu() {
|
|||||||
do_action "telegram_bot_setup_dialog" "install_ui";;
|
do_action "telegram_bot_setup_dialog" "install_ui";;
|
||||||
9)
|
9)
|
||||||
do_action "moonraker_obico_setup_dialog" "install_ui";;
|
do_action "moonraker_obico_setup_dialog" "install_ui";;
|
||||||
10)
|
# 10)
|
||||||
# do_action "install_mjpg-streamer" "install_ui";;
|
# do_action "install_mjpg-streamer" "install_ui";;
|
||||||
clear && print_header
|
# clear && print_header
|
||||||
print_error "Function currently disabled! Sorry!"
|
# print_error "Function currently disabled! Sorry!"
|
||||||
install_ui;;
|
# install_ui;;
|
||||||
B|b)
|
B|b)
|
||||||
clear; main_menu; break;;
|
clear; main_menu; break;;
|
||||||
*)
|
*)
|
||||||
|
|||||||
@@ -25,7 +25,8 @@ function main_ui() {
|
|||||||
echo -e "| 2) [Update] | Moonraker: $(print_status "moonraker")|"
|
echo -e "| 2) [Update] | Moonraker: $(print_status "moonraker")|"
|
||||||
echo -e "| 3) [Remove] | |"
|
echo -e "| 3) [Remove] | |"
|
||||||
echo -e "| 4) [Advanced] | Mainsail: $(print_status "mainsail")|"
|
echo -e "| 4) [Advanced] | Mainsail: $(print_status "mainsail")|"
|
||||||
echo -e "| 5) [Backup] | Fluidd: $(print_status "fluidd")|"
|
# echo -e "| 5) [Backup] | Fluidd: $(print_status "fluidd")|"
|
||||||
|
echo -e "| | Fluidd: $(print_status "fluidd")|"
|
||||||
echo -e "| | KlipperScreen: $(print_status "klipperscreen")|"
|
echo -e "| | KlipperScreen: $(print_status "klipperscreen")|"
|
||||||
echo -e "| 6) [Settings] | Telegram Bot: $(print_status "telegram_bot")|"
|
echo -e "| 6) [Settings] | Telegram Bot: $(print_status "telegram_bot")|"
|
||||||
echo -e "| | Obico: $(print_status "moonraker_obico")|"
|
echo -e "| | Obico: $(print_status "moonraker_obico")|"
|
||||||
|
|||||||
Reference in New Issue
Block a user