1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-29 13:52:03 +01:00

fix: do not parse Flatpak symlinks during setup

This commit is contained in:
aclist 2023-05-10 11:51:26 +09:00
parent 435c275725
commit 9fee338ba4
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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@@')