mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 07:02:50 +01:00
chore: cleanup
This commit is contained in:
1 parent
9b2ec79aa5
commit
bdea37ddc4
1 file changed
+3
-2
+3
-2
@@ -337,8 +337,9 @@ is_in_favs(){
|
|||||||
find_id(){
|
find_id(){
|
||||||
local file="$default_steam_path/config/loginusers.vdf"
|
local file="$default_steam_path/config/loginusers.vdf"
|
||||||
[[ ! -f $file ]] && return 1
|
[[ ! -f $file ]] && return 1
|
||||||
local res=$(python3 $HOME/.local/share/dzgui/helpers/vdf2json.py \
|
local res=$(python3 "$helpers_path/vdf2json.py" \
|
||||||
-i "$file" | jq -r '.users
|
-i "$file" \
|
||||||
|
| jq -r '.users
|
||||||
|to_entries[]
|
|to_entries[]
|
||||||
|select(.value.MostRecent=="1")
|
|select(.value.MostRecent=="1")
|
||||||
|.key'
|
|.key'
|
||||||
|
|||||||
Reference in new issue
Block a user