Skip to content

Commit 928e428

Browse files
committed
Merge branch 'hotfix/v24.3.1' into develop
2 parents 5c31f33 + 764032b commit 928e428

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

lgsm/modules/core_dl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ fn_fetch_file() {
393393
fi
394394
# Trap will remove part downloaded files if canceled.
395395
trap fn_fetch_trap INT
396-
curlcmd=(curl --connect-timeout 3 --fail -L -o "${local_filedir}/${local_filename}" --retry 2)
396+
curlcmd=(curl --connect-timeout 3 --fail -L -o "${local_filedir}/${local_filename}" --retry 2 -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.${randomint}.212 Safari/537.36")
397397

398398
# if is large file show progress, else be silent
399399
local exitcode=""

lgsm/modules/core_modules.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
1010

11-
modulesversion="v24.3.0"
11+
modulesversion="v24.3.1"
1212

1313
# Core
1414

lgsm/modules/update_mcb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ fn_update_remotebuild() {
5353
randomint=$(tr -dc 0-9 < /dev/urandom 2> /dev/null | head -c 4 | xargs)
5454
# Get remote build info.
5555
if [ "${mcversion}" == "latest" ]; then
56-
remotebuildversion=$(curl -H "Accept-Encoding: identity" -H "Accept-Language: en" -Ls -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.${randomint}.212 Safari/537.36" "https://www.minecraft.net/en-us/download/server/bedrock/" | grep -o 'https://minecraft.azureedge.net/bin-linux/[^"]*' | sed 's/.*\///' | grep -Eo "[.0-9]+[0-9]")
56+
remotebuildversion=$(curl -H "Accept-Encoding: identity" -H "Accept-Language: en" -Ls -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.${randomint}.212 Safari/537.36" "https://www.minecraft.net/en-us/download/server/bedrock/" | grep -o 'https://www.minecraft.net/bedrockdedicatedserver/bin-linux/[^"]*' | sed 's/.*\///' | grep -Eo "[.0-9]+[0-9]")
5757
else
5858
remotebuildversion="${mcversion}"
5959
fi
60-
remotebuildurl="https://minecraft.azureedge.net/bin-linux/bedrock-server-${remotebuildversion}.zip"
60+
remotebuildurl="https://www.minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-${remotebuildversion}.zip"
6161

6262
if [ "${firstcommandname}" != "INSTALL" ]; then
6363
fn_print_dots "Checking remote build: ${remotelocation}"

linuxgsm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if [ -f ".dev-debug" ]; then
2424
set -x
2525
fi
2626

27-
version="v24.3.0"
27+
version="v24.3.1"
2828
shortname="core"
2929
gameservername="core"
3030
commandname="CORE"

0 commit comments

Comments
 (0)