File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ RUN easy-add --var version=0.2.1 --var app=entrypoint-demoter --file {{.app}} --
29
29
30
30
RUN easy-add --var version=0.1.1 --var app=set-property --file {{.app}} --from https://github.com/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_linux_${ARCH}.tar.gz
31
31
32
- RUN easy-add --var version=1.2 .0 --var app=restify --file {{.app}} --from https://github.com/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_linux_${ARCH}.tar.gz
32
+ RUN easy-add --var version=1.3 .0 --var app=restify --file {{.app}} --from https://github.com/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_linux_${ARCH}.tar.gz
33
33
34
34
RUN easy-add --var version=0.5.0 --var app=mc-monitor --file {{.app}} --from https://github.com/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_linux_${ARCH}.tar.gz
35
35
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if [[ ${DEBUG^^} = TRUE ]]; then
8
8
echo " DEBUG: running as $( id -a) with $( ls -ld /data) "
9
9
fi
10
10
11
- downloadPage=https://www.minecraft.net/en-us/download/server/bedrock/
11
+ downloadPage=https://www.minecraft.net/en-us/download/server/bedrock
12
12
13
13
if [[ ${EULA^^} != TRUE ]]; then
14
14
echo
@@ -40,9 +40,9 @@ case ${VERSION^^} in
40
40
VERSION=1.16.20.03
41
41
;;
42
42
LATEST)
43
- for a in data-bi-prtid data-platform ; do
43
+ for a in data-platform data-bi-prtid ; do
44
44
for i in {1..3}; do
45
- DOWNLOAD_URL=$( restify --attribute=${a} =serverBedrockLinux ${downloadPage} 2> restify.err | jq -r ' .[0].href' || echo ' ' )
45
+ DOWNLOAD_URL=$( restify --user-agent=itzg/minecraft-bedrock-server -- attribute=${a} =serverBedrockLinux ${downloadPage} 2> restify.err | jq -r ' .[0].href' || echo ' ' )
46
46
if [[ ${DOWNLOAD_URL} ]]; then
47
47
break 2
48
48
fi
You can’t perform that action at this time.
0 commit comments