mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 22:52:42 +01:00
Set Steam Deck dir earlier
This commit is contained in:
1 parent
9ec30e7ba6
commit
b37420cdd0
2 files changed
+2
-2
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
version=2.8.0-rc.13
|
version=2.8.0-rc.14
|
||||||
|
|
||||||
aid=221100
|
aid=221100
|
||||||
game="dayz"
|
game="dayz"
|
||||||
|
|||||||
+1
-1
@@ -82,6 +82,7 @@ auto_mod_download(){
|
|||||||
[[ -z $steam_username ]] && { fail "Username can't be empty"; continue; }
|
[[ -z $steam_username ]] && { fail "Username can't be empty"; continue; }
|
||||||
[[ -n $steam_username ]] && break
|
[[ -n $steam_username ]] && break
|
||||||
done
|
done
|
||||||
|
test_dir
|
||||||
if [[ -d "$staging_dir/steamapps" ]]; then
|
if [[ -d "$staging_dir/steamapps" ]]; then
|
||||||
log "Sanitizing $staging_dir"
|
log "Sanitizing $staging_dir"
|
||||||
if [[ $staging_dir == "/tmp" ]]; then
|
if [[ $staging_dir == "/tmp" ]]; then
|
||||||
@@ -96,7 +97,6 @@ auto_mod_download(){
|
|||||||
tput civis
|
tput civis
|
||||||
[[ ${#ids[@]} -gt 1 ]] && s=s
|
[[ ${#ids[@]} -gt 1 ]] && s=s
|
||||||
tput cnorm
|
tput cnorm
|
||||||
test_dir
|
|
||||||
log "Staging dir is $staging_dir"
|
log "Staging dir is $staging_dir"
|
||||||
steamcmd_modlist > "/tmp/mods.txt"
|
steamcmd_modlist > "/tmp/mods.txt"
|
||||||
log "Preparing to download ${#ids[@]} mod$s. This may take some time. Abort with Ctrl+c."
|
log "Preparing to download ${#ids[@]} mod$s. This may take some time. Abort with Ctrl+c."
|
||||||
|
|||||||
Reference in new issue
Block a user