1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-27 04:42:35 +01:00

chore: cleanup

This commit is contained in:
aclist 2024-12-18 20:57:09 +09:00
parent 9b2ec79aa5
commit bdea37ddc4

View file

@ -337,8 +337,9 @@ is_in_favs(){
find_id(){
local file="$default_steam_path/config/loginusers.vdf"
[[ ! -f $file ]] && return 1
local res=$(python3 $HOME/.local/share/dzgui/helpers/vdf2json.py \
-i "$file" | jq -r '.users
local res=$(python3 "$helpers_path/vdf2json.py" \
-i "$file" \
| jq -r '.users
|to_entries[]
|select(.value.MostRecent=="1")
|.key'