mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-24 23:38:28 +00:00
parent
0aee12defc
commit
aa02335efb
@ -712,13 +712,13 @@ function runSteamCMD(){
|
|||||||
if [[ -z "${steamcmdhome}" || ! -d "${steamcmdhome}" ]]; then
|
if [[ -z "${steamcmdhome}" || ! -d "${steamcmdhome}" ]]; then
|
||||||
steamcmdhome="${HOME}"
|
steamcmdhome="${HOME}"
|
||||||
fi
|
fi
|
||||||
HOME="${steamcmdhome}" "$steamcmdroot/$steamcmdexec" +@NoPromptForPassword 1 ${steamcmd_cmds_prelogin} +login "${steamlogin:-anonymous}" ${steamcmd_cmds_postlogin} "$@" +quit
|
HOME="${steamcmdhome}" "$steamcmdroot/$steamcmdexec" +@NoPromptForPassword 1 ${steamcmd_cmds_prelogin} "${steamcmd_force_install_dir[@]}" +login "${steamlogin:-anonymous}" ${steamcmd_cmds_postlogin} "$@" +quit
|
||||||
}
|
}
|
||||||
|
|
||||||
function runSteamCMDspinner(){
|
function runSteamCMDspinner(){
|
||||||
if [ -n "$verbose" ]; then
|
if [ -n "$verbose" ]; then
|
||||||
printf "Executing"
|
printf "Executing"
|
||||||
printf " %q" "$steamcmdroot/$steamcmdexec" +@NoPromptForPassword 1 ${steamcmd_cmds_prelogin} +login "${steamlogin:-anonymous}" ${steamcmd_cmds_postlogin} "$@" +quit
|
printf " %q" "$steamcmdroot/$steamcmdexec" +@NoPromptForPassword 1 ${steamcmd_cmds_prelogin} "${steamcmd_force_install_dir[@]}" +login "${steamlogin:-anonymous}" ${steamcmd_cmds_postlogin} "$@" +quit
|
||||||
printf "\n"
|
printf "\n"
|
||||||
if (command >&3) 2>/dev/null; then
|
if (command >&3) 2>/dev/null; then
|
||||||
runSteamCMD "$@" > >(tee /dev/fd/3)
|
runSteamCMD "$@" > >(tee /dev/fd/3)
|
||||||
@ -1638,7 +1638,8 @@ doStopAll(){
|
|||||||
runSteamCMDAppUpdate(){
|
runSteamCMDAppUpdate(){
|
||||||
local installdir="$1"
|
local installdir="$1"
|
||||||
shift
|
shift
|
||||||
runSteamCMDspinner +force_install_dir "$installdir" +app_update "$appid" $steamcmd_appextraopts "$@"
|
local steamcmd_force_install_dir=( +force_install_dir "$installdir" )
|
||||||
|
runSteamCMDspinner +app_update "$appid" $steamcmd_appextraopts "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user