Explorar o código

add fix_lo.sh

Claiyc %!s(int64=4) %!d(string=hai) anos
pai
achega
019431b009
Modificáronse 2 ficheiros con 14 adicións e 0 borrados
  1. 2 0
      lgsm/functions/fix.sh
  2. 12 0
      lgsm/functions/fix_lo.sh

+ 2 - 0
lgsm/functions/fix.sh

@@ -106,6 +106,8 @@ if [ "${commandname}" == "INSTALL" ]; then
 				fix_kf.sh
 			elif [ "${shortname}" == "kf2" ]; then
 				fix_kf2.sh
+			elif [ "${shortname}" == "lo" ]; then
+				fix_lo.sh
 			elif [ "${shortname}" == "ro" ]; then
 				fix_ro.sh
 			elif [ "${shortname}" == "samp" ]; then

+ 12 - 0
lgsm/functions/fix_lo.sh

@@ -0,0 +1,12 @@
+#!/bin/bash
+# LinuxGSM fix_lo.sh function
+# Author: Daniel Gibbs
+# Website: https://linuxgsm.com
+# Description: Resolves startup issue with Last Oasis
+
+functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
+
+local APPID_FILE = ${executabledir}/steam_appid.txt
+if [! -f "${APPID_FILE}" ]; then
+    echo "903950" > ${APPID_FILE}
+fi