mirror of
https://github.com/aclist/dztui.git
synced 2026-10-28 05:32:44 +01:00
Fix default Steam path prefix
This commit is contained in:
1 parent
8304eb0a53
commit
a3026101e0
1 file changed
+2
-2
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -o pipefail
|
||||
version=2.0.1
|
||||
version=2.0.2
|
||||
aid=221100
|
||||
game="dayz"
|
||||
workshop="https://steamcommunity.com/sharedfiles/filedetails/?id="
|
||||
@@ -119,7 +119,7 @@ guess_path(){
|
||||
echo "# Checking for default DayZ path"
|
||||
path=$(find $HOME -path "*.local/share/Steam/steamapps/common/DayZ" | wc -c)
|
||||
if [[ ! $path -eq 0 ]]; then
|
||||
steam_path="$HOME/.local/share/Steam/steamapps/common/DayZ"
|
||||
steam_path="$HOME/.local/share/Steam"
|
||||
else
|
||||
echo "# Searching for alternate DayZ path"
|
||||
path=$(find / -path "*/steamapps/common/DayZ" 2>/dev/null)
|
||||
|
||||
Reference in new issue
Block a user