This commit is contained in:
Cyril 2024-03-31 23:35:16 +02:00
parent 041223591f
commit 9e9081e4cc
8 changed files with 126 additions and 0 deletions

View file

@ -39,6 +39,7 @@ function install_menu_ui() {
menu_option '21' 'Install' 'GuppyFLO'
menu_option '22' 'Install' 'Mobileraker Companion'
menu_option '23' 'Install' 'OctoApp Companion'
menu_option '24' 'Install' 'SimplyPrint'
hr
inner_line
hr
@ -240,6 +241,16 @@ function install_menu() {
else
run "install_octoapp_companion" "install_menu_ui"
fi;;
24)
if grep -q "\[simplyprint\]" "$MOONRAKER_CFG"; then
error_msg "SimplyPrint is already installed!"
elif [ ! -d "$MOONRAKER_FOLDER" ]; then
error_msg "Moonraker and Nginx are needed, please install them first!"
elif [ ! -d "$FLUIDD_FOLDER" ] && [ ! -d "$MAINSAIL_FOLDER" ]; then
error_msg "Fluidd or Mainsail is needed, please install it first!"
else
run "install_simplyprint" "install_menu_ui"
fi;;
B|b)
clear; main_menu; break;;
Q|q)