This commit is contained in:
Cyril 2024-05-14 03:22:13 +02:00
parent 0450146383
commit b2795c3365
3 changed files with 6 additions and 0 deletions

View file

@ -207,6 +207,8 @@ function install_menu_3v3() {
error_msg "Updated Moonraker is needed, please install it first!"
elif [ ! -d "$FLUIDD_FOLDER" ] && [ ! -d "$MAINSAIL_FOLDER" ]; then
error_msg "Fluidd or Mainsail is needed, please install one of them first!"
elif [ ! -f "$ENTWARE_FILE" ]; then
error_msg "Entware is needed, please install it first!"
else
run "install_mobileraker_companion" "install_menu_ui_3v3"
fi;;

View file

@ -226,6 +226,8 @@ function install_menu_k1() {
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 one of them first!"
elif [ ! -f "$ENTWARE_FILE" ]; then
error_msg "Entware is needed, please install it first!"
else
run "install_mobileraker_companion" "install_menu_ui_k1"
fi;;

View file

@ -175,6 +175,8 @@ function install_menu_ke() {
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 one of them first!"
elif [ ! -f "$ENTWARE_FILE" ]; then
error_msg "Entware is needed, please install it first!"
else
run "install_mobileraker_companion" "install_menu_ui_ke"
fi;;