Update menu.sh

This commit is contained in:
MacRimi 2025-01-12 14:27:16 +01:00 committed by GitHub
parent 0398b03da7
commit 22e733fd30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -180,14 +180,14 @@ show_config_menu() {
show_menu() {
while true; do
if $USE_WHIPTAIL; then
OPTION=$(whiptail --title "$MENU_TITLE" --menu "$SELECT_OPTION" 15 60 4 \
OPTION=$(whiptail --title "$MAIN_MENU_TITLE" --menu "$SELECT_OPTION" 15 60 4 \
"1" "$OPTION_1" \
"2" "$OPTION_2" \
"3" "$OPTION_3" \
"4" "$EXIT_MENU" 3>&1 1>&2 2>&3)
else
clear
echo -e "${YW}=== $MENU_TITLE ===${CL}"
echo -e "${YW}=== $MAIN_MENU_TITLE ===${CL}"
echo "1) $OPTION_1"
echo "2) $OPTION_2"
echo "3) $OPTION_3"