Browse Source

remove appinfo.vdf correctly (#2841)

pull/2848/head
PwnK 5 years ago
committed by GitHub
parent
commit
57243aae9a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lgsm/config-default/config-lgsm/acserver/_default.cfg
  2. 4
      lgsm/functions/update_steamcmd.sh

2
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

4
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.

Loading…
Cancel
Save