mirror of
https://github.com/aclist/dztui.git
synced 2024-12-27 21:02:36 +01:00
chore: cleanup
This commit is contained in:
parent
9b2ec79aa5
commit
bdea37ddc4
1 changed files with 3 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue