From 9fee338ba4a7c0ee45d30f62fb162ef7589f3c90 Mon Sep 17 00:00:00 2001 From: aclist Date: Wed, 10 May 2023 11:51:26 +0900 Subject: [PATCH] fix: do not parse Flatpak symlinks during setup --- changelog.md | 4 ++++ dzgui.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 30b1190..0028936 100644 --- a/changelog.md +++ b/changelog.md @@ -6,6 +6,10 @@ - Custom query API - Store favorites by IP +## [3.2.6] 2023-05-10 +### Fixed +- Don't parse Flatpak symlinks when setting up default Steam path + ## [3.2.5] 2023-05-07 ### Fixed - Require sudo when checking vm map count diff --git a/dzgui.sh b/dzgui.sh index ed6ff78..24dcd48 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/bin/bash set -o pipefail -version=3.2.5 +version=3.2.6 aid=221100 game="dayz" @@ -1042,7 +1042,7 @@ console_dl(){ find_default_path(){ discover(){ echo "# Searching for Steam" - default_steam_path=$(find / -type d \( -path "/proc" -o -path "*/timeshift" -o -path \ + default_steam_path=$(find / -type d \( -path "/proc" -o -path "*/timeshift" -o -path "$HOME/.var" -o -path \ "/tmp" -o -path "/usr" -o -path "/boot" -o -path "/proc" -o -path "/root" \ -o -path "/sys" -o -path "/etc" -o -path "/var" -o -path "/lost+found" \) -prune \ -o -regex ".*/Steam/ubuntu12_32$" -print -quit 2>/dev/null | sed 's@/ubuntu12_32@@')