Преглед на файлове

feat: add fn_login_steamcmd_nopass function

This commit adds the `fn_login_steamcmd_nopass` function to the core_steamcmd.sh module. This function is called in the `fn_update_steamcmd_remotebuild` function and handles logging into SteamCMD without a password. The purpose of this change is to improve the login process for SteamCMD when updating remote builds.
Daniel Gibbs преди 2 години
родител
ревизия
f72756edb4
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      lgsm/modules/core_steamcmd.sh

+ 2 - 0
lgsm/modules/core_steamcmd.sh

@@ -193,6 +193,8 @@ fn_update_steamcmd_remotebuild() {
 		find "${HOME}" -type f -name "appinfo.vdf" -exec rm -f {} \; 2> /dev/null
 	fi
 
+	fn_login_steamcmd_nopass
+
 	# password for branch not needed to check the buildid
 	remotebuildversion=$(${steamcmdcommand} +login "${steamuser}" +app_info_update 1 +app_info_print "${appid}" +quit | sed -e '/"branches"/,/^}/!d' | sed -n "/\"${branch}\"/,/}/p" | grep -m 1 buildid | tr -cd '[:digit:]')