diff --git a/lgsm/functions/fix.sh b/lgsm/functions/fix.sh index 3f18a685b..04c3a6748 100644 --- a/lgsm/functions/fix.sh +++ b/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 diff --git a/lgsm/functions/fix_ark.sh b/lgsm/functions/fix_ark.sh new file mode 100644 index 000000000..3ce2e0c19 --- /dev/null +++ b/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 \ No newline at end of file