|
|
@ -111,8 +111,8 @@ fn_install_server_files_steamcmd(){ |
|
|
|
else |
|
|
|
${unbuffer} ${steamcmdcommand} +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_set_config 90 mod "${appidmod}" +app_update "${appid}" +quit |
|
|
|
fi |
|
|
|
elif [ "${shortname}" == "ac" ]; then |
|
|
|
${unbuffer} ${steamcmdcommand} +@sSteamCmdForcePlatformType windows +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" +quit |
|
|
|
elif [ "${shortname}" == "ac" ]||[ "${shortname}" == "jk2" ]; then |
|
|
|
${unbuffer} ${steamcmdcommand} +@sSteamCmdForcePlatformType windows +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" validate +quit |
|
|
|
# All other servers. |
|
|
|
else |
|
|
|
if [ -n "${branch}" ]; then |
|
|
@ -132,8 +132,8 @@ fn_install_server_files_steamcmd(){ |
|
|
|
${unbuffer} ${steamcmdcommand} +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_set_config 90 mod "${appidmod}" +app_update "${appid}" validate +quit |
|
|
|
fi |
|
|
|
local exitcode=$? |
|
|
|
elif [ "${shortname}" == "ac" ]||[ "${gamename}" == "Jedi Knight II: Jedi Outcast" ]; then |
|
|
|
${unbuffer} ${steamcmdcommand} +@sSteamCmdForcePlatformType windows +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" +quit |
|
|
|
elif [ "${shortname}" == "ac" ]||[ "${shortname}" == "jk2" ]; then |
|
|
|
${unbuffer} ${steamcmdcommand} +@sSteamCmdForcePlatformType windows +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" validate +quit |
|
|
|
local exitcode=$? |
|
|
|
# All other servers. |
|
|
|
else |
|
|
|