فهرست منبع

remove appinfo.vdf correctly (#2841)

PwnK 6 سال پیش
والد
کامیت
57243aae9a
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      lgsm/config-default/config-lgsm/acserver/_default.cfg
  2. 2 2
      lgsm/functions/update_steamcmd.sh

+ 1 - 1
lgsm/config-default/config-lgsm/acserver/_default.cfg

@@ -137,7 +137,7 @@ querytype=""
 # Do not edit
 gamename="Assetto Corsa"
 engine="unity3d"
-glibc=""
+glibc="2.15"
 
 #### Directories ####
 # Edit with care

+ 2 - 2
lgsm/functions/update_steamcmd.sh

@@ -48,8 +48,8 @@ fn_update_steamcmd_localbuild(){
 	localbuild=$(grep buildid "${appmanifestfile}" | tr '[:blank:]"' ' ' | tr -s ' ' | cut -d\  -f3)
 
 	# Removes appinfo.vdf as a fix for not always getting up to date version info from SteamCMD.
-	if [ -f "${HOME}/Steam/appcache/appinfo.vdf" ]; then
-		rm -f "${HOME}/Steam/appcache/appinfo.vdf"
+	if [ -f "${HOME}/.steam/appcache/appinfo.vdf" ]; then
+		rm -f "${HOME}/.steam/appcache/appinfo.vdf"
 	fi
 
 	# Set branch for updateinfo.