Update 1.2.2.2 beta

This commit is contained in:
MacRimi
2026-07-01 20:13:59 +02:00
parent d522b9a337
commit 6b173c42b6
4 changed files with 222 additions and 80 deletions

View File

@@ -39,7 +39,13 @@ initialize_cache
# ==========================================================
security_menu() {
while true; do
local menu_text
# `local menu_text` alone does NOT reset the variable on the
# second iteration of the while loop — bash keeps the value from
# the previous round, so `menu_text+=` accumulated a duplicate
# "Select an option:" every time the user cancelled a sub-menu
# and came back. Assigning "" on declaration guarantees a clean
# slate each round.
local menu_text=""
menu_text+="\n$(translate 'Select an option:')"
local OPTION