소스 검색

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:]')