From bdea37ddc447860c084c2a725ed0f258766b9ef5 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 18 Dec 2024 20:57:09 +0900 Subject: [PATCH] chore: cleanup --- helpers/funcs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/helpers/funcs b/helpers/funcs index 99bc569..8450450 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -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'