Jelajahi Sumber

added requirements for GE:S

Daniel Gibbs 9 tahun lalu
induk
melakukan
d43ce65ff9
1 mengubah file dengan 6 tambahan dan 0 penghapusan
  1. 6 0
      lgsm/functions/check_deps.sh

+ 6 - 0
lgsm/functions/check_deps.sh

@@ -182,6 +182,9 @@ if [ -n "$(command -v dpkg-query)" ]; then
 	# Project Zomboid and Minecraft
 	elif [ "${engine}" ==  "projectzomboid" ]||[ "${engine}" == "lwjgl2" ]; then
 		array_deps_required+=( default-jdk )
+	# GoldenEye: Source
+	elif [ "${gamename}" ==  "GoldenEye: Source" ]; then
+		array_deps_required+=( zlib1g )
 	# Unreal Engine
 	elif [ "${executable}" ==  "./ucc-bin" ]; then
 		#UT2K4
@@ -240,6 +243,9 @@ elif [ -n "$(command -v yum)" ]; then
 	# Project Zomboid and Minecraft
 	elif [ "${engine}" ==  "projectzomboid" ]||[ "${engine}" == "lwjgl2" ]; then
 		array_deps_required+=( java-1.8.0-openjdk )
+	# GoldenEye: Source
+	elif [ "${gamename}" ==  "GoldenEye: Source" ]; then
+		array_deps_required+=( zlib )
 	# Unreal Engine
 	elif [ "${executable}" ==  "./ucc-bin" ]; then
 		#UT2K4