Browse Source

Merge branch 'hotfix/v24.2.3'

Daniel Gibbs 1 year ago
parent
commit
3089994e54
3 changed files with 7 additions and 3 deletions
  1. 5 1
      lgsm/modules/check_gamedig.sh
  2. 1 1
      lgsm/modules/core_modules.sh
  3. 1 1
      linuxgsm.sh

+ 5 - 1
lgsm/modules/check_gamedig.sh

@@ -10,6 +10,10 @@ if [ "$(command -v node)" ] && [ "$(node -v | cut -d 'v' -f 2 | cut -d '.' -f 1)
 	echo -e "${bold}${lightyellow}Installing Gamedig${default}"
 	echo -e "${bold}${lightyellow}Installing Gamedig${default}"
 	fn_script_log_info "Installing Gamedig"
 	fn_script_log_info "Installing Gamedig"
 	cd "${lgsmdir}" || exit
 	cd "${lgsmdir}" || exit
-	wget -N --no-check-certificate "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${githubbranch}/package.json"
+	curl -L -o package.json "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${githubbranch}/package.json"
 	npm install
 	npm install
+elif [ "$(command -v node)" ] && [ "$(node -v | cut -d 'v' -f 2 | cut -d '.' -f 1)" -ge 16 ]; then
+	cd "${lgsmdir}" || exit
+	curl -s -L -o package.json "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${githubbranch}/package.json"
+	npm update > /dev/null 2>&1
 fi
 fi

+ 1 - 1
lgsm/modules/core_modules.sh

@@ -8,7 +8,7 @@
 
 
 moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
 moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
 
 
-modulesversion="v24.2.2"
+modulesversion="v24.2.3"
 
 
 # Core
 # Core
 
 

+ 1 - 1
linuxgsm.sh

@@ -24,7 +24,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 	set -x
 fi
 fi
 
 
-version="v24.2.2"
+version="v24.2.3"
 shortname="core"
 shortname="core"
 gameservername="core"
 gameservername="core"
 commandname="CORE"
 commandname="CORE"