Skip to content

Commit

Permalink
Included user agent for download (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacokok authored Sep 23, 2024
1 parent 60173a8 commit a5b46e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bedrock-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ if [[ ! -f "bedrock_server-${VERSION}" ]]; then
TMP_ZIP="$TMP_DIR/$(basename "${DOWNLOAD_URL}")"

echo "Downloading Bedrock server version ${VERSION} ..."
if ! curl "${curlArgs[@]}" -o "${TMP_ZIP}" -fsSL "${DOWNLOAD_URL}"; then
if ! curl "${curlArgs[@]}" -o "${TMP_ZIP}" -A "itzg/minecraft-bedrock-server" -fsSL "${DOWNLOAD_URL}"; then
echo "ERROR failed to download from ${DOWNLOAD_URL}"
echo " Double check that the given VERSION is valid"
exit 2
Expand Down

0 comments on commit a5b46e5

Please sign in to comment.