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

@ -20,6 +20,14 @@ function check_file_ke() {
fi
}
function check_simplyprint_ke() {
if grep -q "\[simplyprint\]" "$MOONRAKER_CFG"; then
echo -e "${green}"
else
echo -e "${red}"
fi
}
function info_menu_ui_ke() {
top_line
title '[ INFORMATIONS MENU ]' "${yellow}"
@ -49,6 +57,7 @@ function info_menu_ui_ke() {
info_line "$(check_folder_ke "$GUPPYFLO_FOLDER")" 'GuppyFLO'
info_line "$(check_folder_ke "$MOBILERAKER_COMPANION_FOLDER")" 'Mobileraker Companion'
info_line "$(check_folder_ke "$OCTOAPP_COMPANION_FOLDER")" 'OctoApp Companion'
info_line "$(check_simplyprint_ke)" 'SimplyPrint'
hr
subtitle '•CUSTOMIZATION:'
info_line "$(check_file_ke "$CREALITY_WEB_FILE")" 'Creality Web Interface'