mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 12:16:53 +00:00
Update hw_grafics_menu.sh
This commit is contained in:
parent
1633fe0dfe
commit
efe15a8ed8
@ -24,18 +24,9 @@ if ! source <(curl -sSf "$UTILS_URL"); then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
initialize_cache() {
|
||||
if [ ! -f "$CACHE_FILE" ]; then
|
||||
echo "{}" > "$CACHE_FILE"
|
||||
return
|
||||
fi
|
||||
}
|
||||
initialize_cache
|
||||
load_language
|
||||
|
||||
load_language() {
|
||||
if [ -f "$CONFIG_FILE" ]; then
|
||||
LANGUAGE=$(jq -r '.language' "$CONFIG_FILE")
|
||||
fi
|
||||
}
|
||||
# ==========================================================
|
||||
|
||||
while true; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user