Browse Source

add fix_lo.sh

Claiyc 4 năm trước cách đây
mục cha
commit
019431b009
2 tập tin đã thay đổi với 14 bổ sung0 xóa
  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