From 7b30b92d247d6c5d373bc8b067839493eeba0fbd Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 18 Feb 2024 00:31:23 +0000 Subject: [PATCH] download package.json and run npm install --- lgsm/modules/install_gamedig.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lgsm/modules/install_gamedig.sh b/lgsm/modules/install_gamedig.sh index 08184b796..91b4f0c6c 100644 --- a/lgsm/modules/install_gamedig.sh +++ b/lgsm/modules/install_gamedig.sh @@ -7,5 +7,6 @@ if [ "$(command -v node)" ] && [ ! -f "${lgsmdir}/node_modules/gamedig/bin/gamedig.js" ]; then cd "${lgsmdir}" || exit - npm install gamedig@5.0.0-beta.2 + wget -N --no-check-certificate "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${githubbranch}/package.json" + npm install fi