arc: rewrite cancel to exit

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2023-12-30 19:52:31 +01:00
parent b8ae414e7c
commit 2e349afb51

View File

@ -2804,7 +2804,7 @@ while true; do
echo "0 \"Credits \" " >>"${TMP_PATH}/menu" echo "0 \"Credits \" " >>"${TMP_PATH}/menu"
dialog --clear --default-item ${NEXT} --backtitle "$(backtitle)" --colors \ dialog --clear --default-item ${NEXT} --backtitle "$(backtitle)" --colors \
--title "Arc Menu" --menu "" 0 0 0 --file "${TMP_PATH}/menu" \ --cancel-label "Exit" --title "Arc Menu" --menu "" 0 0 0 --file "${TMP_PATH}/menu" \
2>"${TMP_PATH}/resp" 2>"${TMP_PATH}/resp"
[ $? -ne 0 ] && break [ $? -ne 0 ] && break
case $(<"${TMP_PATH}/resp") in case $(<"${TMP_PATH}/resp") in