Просмотр исходного кода

Added fix for ark

Symlinking the SteamCMD directory into the correct ARK directory so that the mods auto-management will work fine.
Daniel Gibbs 8 лет назад
Родитель
Сommit
c45f21e566
2 измененных файлов с 12 добавлено и 0 удалено
  1. 2 0
      lgsm/functions/fix.sh
  2. 10 0
      lgsm/functions/fix_ark.sh

+ 2 - 0
lgsm/functions/fix.sh

@@ -44,6 +44,8 @@ if [ "${function_selfname}" != "command_install.sh" ]; then
 
 	if  [ "${gamename}" == "ARMA 3" ]; then
 		fix_arma3.sh
+	elif [ "${shortname}" == "ark" ]; then
+		fix_ark.sh
 	elif [ "${gamename}" == "Counter-Strike: Global Offensive" ]; then
 		fix_csgo.sh
 	elif [ "${gamename}" == "Don't Starve Together" ]; then

+ 10 - 0
lgsm/functions/fix_ark.sh

@@ -0,0 +1,10 @@
+#!/bin/bash
+# LinuxGSM fix_ark.sh function
+# Author: Daniel Gibbs
+# Website: https://gameservermanagers.com
+# Description: Resolves various issues with ARK: Survival Evolved.
+
+# Symlinking the SteamCMD directory into the correct ARK directory so that the mods auto-management will work.
+if [ ! -d "${serverfiles}/Engine/Binaries/ThirdParty/SteamCMD/Linux" ]; then
+	ln -s "${steamcmddir}" "${serverfiles}/Engine/Binaries/ThirdParty/SteamCMD/Linux"
+fi