mirror of
https://github.com/aclist/dztui.git
synced 2024-12-28 21:32:36 +01:00
feat: header bar
This commit is contained in:
parent
3e9c5a96d9
commit
9fdc123e2c
4 changed files with 642 additions and 259 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -1,5 +1,15 @@
|
|||
# Changelog
|
||||
|
||||
## [5.6.0-beta.4] 2024-11-20
|
||||
### Added
|
||||
- Application header bar and controls
|
||||
- Menu context subtitle in header bar
|
||||
### Changed
|
||||
- Refactor control flow for more robust contextual parsing
|
||||
- Stop sending modal dialog hints to outer window
|
||||
### Fixed
|
||||
- Favorite server message not updating correctly
|
||||
|
||||
## [5.6.0-beta.3] 2024-11-18
|
||||
### Fixed
|
||||
- Improved handling for cases where there are no locally installed mods
|
||||
|
|
8
dzgui.sh
8
dzgui.sh
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
set -o pipefail
|
||||
|
||||
version=5.6.0-beta.3
|
||||
version=5.6.0-beta.4
|
||||
|
||||
#CONSTANTS
|
||||
aid=221100
|
||||
|
@ -569,10 +569,10 @@ fetch_helpers_by_sum(){
|
|||
[[ -f "$config_file" ]] && source "$config_file"
|
||||
declare -A sums
|
||||
sums=(
|
||||
["ui.py"]="353e6fcb8d2c674a3720c0ab8a2b3fd6"
|
||||
["ui.py"]="27ef5c9b811011521c81985ee2b32bb4"
|
||||
["query_v2.py"]="55d339ba02512ac69de288eb3be41067"
|
||||
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
|
||||
["funcs"]="5eae515ea2cac2ab38212a529415e86b"
|
||||
["funcs"]="75afe0be7e73af2fb6a7e423b5ac9159"
|
||||
["lan"]="c62e84ddd1457b71a85ad21da662b9af"
|
||||
)
|
||||
local author="aclist"
|
||||
|
@ -886,7 +886,7 @@ initial_setup(){
|
|||
watcher_deps
|
||||
check_architecture
|
||||
test_connection
|
||||
fetch_helpers > >(pdialog "Checking helper files")
|
||||
# fetch_helpers > >(pdialog "Checking helper files")
|
||||
varcheck
|
||||
source "$config_file"
|
||||
lock
|
||||
|
|
|
@ -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…
Reference in a new issue