mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-25 07:48:28 +00:00
Fix beta detection / selection
This commit is contained in:
parent
cbec220639
commit
e9a0d2d432
@ -637,7 +637,7 @@ function getStagingVersion(){
|
|||||||
#
|
#
|
||||||
function getCurrentBranch(){
|
function getCurrentBranch(){
|
||||||
if [ -f "${arkserverroot}/steamapps/appmanifest_${appid}.acf" ]; then
|
if [ -f "${arkserverroot}/steamapps/appmanifest_${appid}.acf" ]; then
|
||||||
while read name val; do if [ "${name}" == "{" ]; then parseSteamACF "UserConfig" "betakey"; break; fi; done <"${arkserverroot}/steamapps/appmanifest_${appid}.acf"
|
while read name val; do if [ "${name}" == "{" ]; then parseSteamACF ".UserConfig" "betakey"; break; fi; done <"${arkserverroot}/steamapps/appmanifest_${appid}.acf"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -646,7 +646,7 @@ function getCurrentBranch(){
|
|||||||
#
|
#
|
||||||
function getCurrentBranch(){
|
function getCurrentBranch(){
|
||||||
if [ -f "${arkStagingDir}/steamapps/appmanifest_${appid}.acf" ]; then
|
if [ -f "${arkStagingDir}/steamapps/appmanifest_${appid}.acf" ]; then
|
||||||
while read name val; do if [ "${name}" == "{" ]; then parseSteamACF "UserConfig" "betakey"; break; fi; done <"${arkStagingDir}/steamapps/appmanifest_${appid}.acf"
|
while read name val; do if [ "${name}" == "{" ]; then parseSteamACF ".UserConfig" "betakey"; break; fi; done <"${arkStagingDir}/steamapps/appmanifest_${appid}.acf"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1351,7 +1351,9 @@ doStopAll(){
|
|||||||
# install / update / download update
|
# install / update / download update
|
||||||
#
|
#
|
||||||
runSteamCMDAppUpdate(){
|
runSteamCMDAppUpdate(){
|
||||||
runSteamCMDspinner +force_install_dir "$1" +app_update $appid $steamcmd_appextraopts $2
|
local installdir="$1"
|
||||||
|
shift
|
||||||
|
runSteamCMDspinner +force_install_dir "$installdir" +app_update $appid $steamcmd_appextraopts "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user