This commit is contained in:
Quinn Damerell
2023-02-24 15:13:55 -08:00
parent fd4a95ec3f
commit eb7110aeea
6 changed files with 363 additions and 10 deletions

View File

@@ -20,15 +20,16 @@ function install_ui() {
echo -e "| functions on a completely fresh system. |"
hr
echo -e "| Firmware & API: | 3rd Party Webinterface: |"
echo -e "| 1) [Klipper] | 6) [OctoPrint] |"
echo -e "| 1) [Klipper] | 6) [OctoPrint] |"
echo -e "| 2) [Moonraker] | |"
echo -e "| | Other: |"
echo -e "| Klipper Webinterface: | 7) [PrettyGCode] |"
echo -e "| 3) [Mainsail] | 8) [Telegram Bot] |"
echo -e "| 4) [Fluidd] | 9) $(obico_install_title) |"
echo -e "| Klipper Webinterface: | 7) [PrettyGCode] |"
echo -e "| 3) [Mainsail] | 8) [Telegram Bot] |"
echo -e "| 4) [Fluidd] | 9) $(obico_install_title)|"
echo -e "| | 10) [OctoEverywhere For Klipper] |"
echo -e "| | |"
echo -e "| Touchscreen GUI: | Webcam Streamer: |"
echo -e "| 5) [KlipperScreen] | 10) [Crowsnest] |"
echo -e "| 5) [KlipperScreen] | 11) [Crowsnest] |"
back_footer
}
@@ -64,7 +65,9 @@ function install_menu() {
do_action "telegram_bot_setup_dialog" "install_ui";;
9)
do_action "moonraker_obico_setup_dialog" "install_ui";;
10)
10)
do_action "octoeverywhere_setup_dialog" "install_ui";;
11)
do_action "install_crowsnest" "install_ui";;
B|b)
clear; main_menu; break;;

View File

@@ -31,6 +31,7 @@ function main_ui() {
echo -e "| 6) [Settings] | Telegram Bot: $(print_status "telegram_bot")|"
echo -e "| | Crowsnest: $(print_status "crowsnest")|"
echo -e "| | Obico: $(print_status "moonraker_obico")|"
echo -e "| |OctoEverywhere: $(print_status "octoeverywhere")|"
echo -e "| | |"
echo -e "| $(print_kiauh_version)| Octoprint: $(print_status "octoprint")|"
quit_footer

View File

@@ -28,7 +28,8 @@ function remove_ui() {
echo -e "| Touchscreen GUI: | 9) [PrettyGCode] |"
echo -e "| 5) [KlipperScreen] | 10) [Telegram Bot] |"
echo -e "| | 11) [Obico for Klipper] |"
echo -e "| | 12) [NGINX] |"
echo -e "| | 12) [OctoEverywhere] |"
echo -e "| | 13) [NGINX] |"
back_footer
}
@@ -62,6 +63,8 @@ function remove_menu() {
11)
do_action "remove_moonraker_obico" "remove_ui";;
12)
do_action "remove_octoeverywhere" "remove_ui";;
13)
do_action "remove_nginx" "remove_ui";;
B|b)
clear; main_menu; break;;

View File

@@ -32,9 +32,10 @@ function update_ui() {
echo -e "| 6) [PrettyGCode] |$(compare_prettygcode_versions)|"
echo -e "| 7) [Telegram Bot] |$(compare_telegram_bot_versions)|"
echo -e "| 8) [Obico for Klipper]|$(compare_moonraker_obico_versions)|"
echo -e "| 9) [Crowsnest] |$(compare_crowsnest_versions)|"
echo -e "| 9) [OctoEverywhere] |$(compare_octoeverywhere_versions)|"
echo -e "| 10)[Crowsnest] |$(compare_crowsnest_versions)|"
echo -e "| |------------------------------|"
echo -e "| 10)[System] | $(check_system_updates) |"
echo -e "| 11)[System] | $(check_system_updates) |"
back_footer
}
@@ -64,8 +65,10 @@ function update_menu() {
8)
do_action "update_moonraker_obico" "update_ui";;
9)
do_action "update_crowsnest" "update_ui";;
do_action "update_octoeverywhere" "update_ui";;
10)
do_action "update_crowsnest" "update_ui";;
11)
do_action "update_system" "update_ui";;
a)
do_action "update_all" "update_ui";;