A *lot* of work done on the audiogame-manager refactor. Hopefully getting somewhat close to stability, but I doubt it.

This commit is contained in:
Storm Dragon
2025-08-04 19:42:59 -04:00
parent 76f0c66c96
commit 4d2134b9a9
68 changed files with 109 additions and 154 deletions

View File

@@ -49,8 +49,9 @@ agm_menu() {
--height=400 \
--width=600)
# Return the mapped value
# Strip trailing pipes and return the mapped value
if [[ -n "$selectedDescription" ]]; then
selectedDescription="${selectedDescription%|}"
echo "${valueMap["$selectedDescription"]}"
fi
else
@@ -185,10 +186,12 @@ agm_yesno() {
local text="$3"
if [[ "$dialogType" == "yad" ]]; then
yad --question \
yad --form \
--title="$title" \
--text="$text" \
--field="$text:LBL" \
--selectable-labels \
--button="Yes:0" \
--button="No:1" \
--width=400
else
dialog --backtitle "$backTitle" \