Просмотр исходного кода

fix(utserver): remove SteamCMD auth requirement 32-bit workaround (#2516)

Christian 6 лет назад
Родитель
Сommit
89387aa346

+ 0 - 4
lgsm/config-default/config-lgsm/untserver/_default.cfg

@@ -14,10 +14,6 @@ port="27015"
 maxplayers="20"
 defaultmap="pei"
 
-## SteamCMD Login | https://github.com/GameServerManagers/LinuxGSM/wiki/SteamCMD#steamcmd-login
-steamuser="username"
-steampass='password'
-
 ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
 
 # Parameters are changed in game.ini and engine.ini (Location: ${systemdir}/Saved/Config/LinuxServer)

+ 0 - 3
lgsm/functions/install_server_files.sh

@@ -104,9 +104,6 @@ fn_install_server_files_steamcmd(){
 				if [ "${appid}" == "90" ]; then
 					${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_set_config 90 mod "${appidmod}" +app_update "${appid}" ${branch} +quit
 					local exitcode=$?
-				elif [ "${shortname}" == "unt" ]; then
-					${unbuffer} ./steamcmd.sh +@sSteamCmdForcePlatformBitness 32 +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" ${branch} validate +quit
-					local exitcode=$?
 				else
 					${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" ${branch} +quit
 					local exitcode=$?