Explorar o código

Create fix_rust.sh

UltimateByte %!s(int64=9) %!d(string=hai) anos
pai
achega
bffd43bae2
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  1. 11 0
      lgsm/functions/fix_rust.sh

+ 11 - 0
lgsm/functions/fix_rust.sh

@@ -0,0 +1,11 @@
+#!/bin/bash
+# LGSM fix_rust.sh function
+# Author: Daniel Gibbs
+# Website: https://gameservermanagers.com
+# Description: Resolves startup issue with Rust
+
+local commandname="FIX"
+local commandaction="Fix"
+
+# Fixes: ./srcds_linux: error while loading shared libraries: libtier0.so: cannot open shared object file: No such file or directory.
+export LD_LIBRARY_PATH="${systemdir}/RustDedicated_Data/Plugins/x86_64"