mirror of
https://github.com/aclist/dztui.git
synced 2025-09-05 21:22:26 +02:00
feat: header bar
This commit is contained in:
parent
3e9c5a96d9
commit
9fdc123e2c
4 changed files with 642 additions and 259 deletions
|
@ -115,19 +115,19 @@ declare -A funcs=(
|
|||
["test_cooldown"]="test_cooldown"
|
||||
["query_config"]="query_config"
|
||||
["start_cooldown"]="start_cooldown"
|
||||
["list_mods"]="list_mods"
|
||||
["List installed mods"]="list_mods"
|
||||
["Delete selected mods"]="delete_local_mod"
|
||||
["align_local"]="align_versions_file"
|
||||
["show_server_modlist"]="show_server_modlist"
|
||||
["test_ping"]="test_ping"
|
||||
["is_in_favs"]="is_in_favs"
|
||||
["show_log"]="show_log"
|
||||
["gen_log"]="generate_log"
|
||||
["Output system info to log file"]="generate_log"
|
||||
["open_workshop_page"]="open_workshop_page"
|
||||
["Add to my servers"]="update_favs_from_table"
|
||||
["Remove from my servers"]="update_favs_from_table"
|
||||
["Remove from history"]="remove_from_history"
|
||||
["force_update"]="force_update"
|
||||
["Force update local mods"]="force_update"
|
||||
["Handshake"]="final_handshake"
|
||||
["get_player_count"]="get_player_count"
|
||||
["lan_scan"]="lan_scan"
|
||||
|
@ -236,6 +236,7 @@ add_record(){
|
|||
fav_label=$(<<< "$res" jq -r '.[].name')
|
||||
fav_server="$record"
|
||||
update_config
|
||||
echo "Updated favorite server to '$fav_server' ($fav_label)"
|
||||
return 90
|
||||
;;
|
||||
"Add server by ID")
|
||||
|
|
876
helpers/ui.py
876
helpers/ui.py
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue