mirror of
https://github.com/aclist/dztui.git
synced 2024-12-29 13:52:03 +01:00
Fix server launch
This commit is contained in:
parent
8ecf9a35d9
commit
69a5f61c18
1 changed files with 3 additions and 3 deletions
6
dzgui.sh
6
dzgui.sh
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -o pipefail
|
||||
version=2.7.0
|
||||
version=2.7.1
|
||||
|
||||
aid=221100
|
||||
game="dayz"
|
||||
|
@ -409,7 +409,6 @@ passed_mod_check(){
|
|||
legacy_symlinks
|
||||
symlinks
|
||||
echo "100"
|
||||
launch
|
||||
|
||||
}
|
||||
connect(){
|
||||
|
@ -438,6 +437,7 @@ connect(){
|
|||
manual_mod_install
|
||||
else
|
||||
passed_mod_check > >(zenity --pulsate --progress --auto-close --width=500 2>/dev/null)
|
||||
launch
|
||||
fi
|
||||
}
|
||||
fetch_mods(){
|
||||
|
@ -626,7 +626,7 @@ concat_mods(){
|
|||
launch(){
|
||||
mods=$(concat_mods)
|
||||
if [[ $debug -eq 1 ]]; then
|
||||
launch_options="steam -applaunch $aid -connect=$ip -nolauncher -nosplash -skipintro \"-mod=$mods\""
|
||||
launch_options="steam -applaunch $aid -connect=$ip -nolauncher -nosplash -name=$name -skipintro \"-mod=$mods\""
|
||||
print_launch_options="$(printf "This is a dry run.\nThese options would have been used to launch the game:\n\n$launch_options\n" | fold -w 60)"
|
||||
zenity --question --title="DZGUI" --ok-label="Write to file" --cancel-label="Back"\
|
||||
--text="$print_launch_options" 2>/dev/null
|
||||
|
|
Loading…
Reference in a new issue