mirror of
https://github.com/aclist/dztui.git
synced 2024-12-28 21:32:36 +01:00
fix: pack launch parameters into array #136
This commit is contained in:
parent
3acab049d4
commit
7c4cbecb47
3 changed files with 14 additions and 3 deletions
|
@ -1,5 +1,9 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [5.3.5] 2024-07-16
|
||||||
|
### Fixed
|
||||||
|
- Pack launch parameters into array before splitting
|
||||||
|
|
||||||
## [5.3.4] 2024-07-16
|
## [5.3.4] 2024-07-16
|
||||||
### Fixed
|
### Fixed
|
||||||
- Clerical update to prior 5.3.3 hotfix
|
- Clerical update to prior 5.3.3 hotfix
|
||||||
|
|
4
dzgui.sh
4
dzgui.sh
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
version=5.3.4
|
version=5.3.5
|
||||||
|
|
||||||
#CONSTANTS
|
#CONSTANTS
|
||||||
aid=221100
|
aid=221100
|
||||||
|
@ -538,7 +538,7 @@ fetch_helpers_by_sum(){
|
||||||
["ui.py"]="f14772424461ec438579dec567db0634"
|
["ui.py"]="f14772424461ec438579dec567db0634"
|
||||||
["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197"
|
["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197"
|
||||||
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
|
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
|
||||||
["funcs"]="7d7ab9c23d28bbcf40e53a0764afa5e8"
|
["funcs"]="e6752185dda9c0e35731bd0b95a3cb19"
|
||||||
)
|
)
|
||||||
local author="aclist"
|
local author="aclist"
|
||||||
local repo="dztui"
|
local repo="dztui"
|
||||||
|
|
|
@ -1307,7 +1307,14 @@ final_handshake(){
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
logger INFO "Kicking off Steam launch"
|
logger INFO "Kicking off Steam launch"
|
||||||
$steam_cmd -applaunch $aid -connect=$saved_address -nolauncher -nosplash -skipintro \"-name=$name\" \"-mod=$saved_mods\" &
|
local params=()
|
||||||
|
params+=("-connect=$saved_address")
|
||||||
|
params+=("-nolauncher")
|
||||||
|
params+=("-nosplash")
|
||||||
|
params+=("-skipintro")
|
||||||
|
params+=("\"-name=$name\"")
|
||||||
|
params+=("\"-mod=$saved_mods\"")
|
||||||
|
$steam_cmd -applaunch $aid "${params[@]}" &
|
||||||
until [[ $(is_dayz_running) -eq 1 ]]; do
|
until [[ $(is_dayz_running) -eq 1 ]]; do
|
||||||
sleep 0.1s
|
sleep 0.1s
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue