Browse Source

add config

Alexander Hurd 9 năm trước cách đây
mục cha
commit
b207aeb74c
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      lgsm/functions/install_config.sh

+ 6 - 0
lgsm/functions/install_config.sh

@@ -389,6 +389,12 @@ elif [ "${gamename}" == "Quake Live" ]; then
 	sleep 1
 	fn_defaultconfig
 	fn_userinputconfig
+elif [ "${gamename}" == "QuakeWorld" ]; then
+	echo -e "downloading lgsm-default.cfg...\c"
+	wget -N /dev/null ${githuburl}/QuakeWOrld/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
+	sleep 1
+	fn_defaultconfig
+	fn_userinputconfig
 elif [ "${gamename}" == "Red Orchestra: Ostfront 41-45" ]; then
 	fn_unreal2config
 elif [ "${gamename}" == "Serious Sam 3: BFE" ]; then