Files
Bubberstation/tools/ci/download_byond.sh
Roxy 21589b743a Add user agent string to BYOND download requests (#91101)
## About The Pull Request

Someone in the BYOND discord said that they were able to fix their CI
script by making sure the request had a user agent attached, and lummox
said that BYOND suffered a DDoS yesterday so the failures are probably
anti-bot measures.

## Why It's Good For The Game

Fix CI mayhaps

## Changelog

N/A
2025-05-11 13:59:38 -04:00

6 lines
252 B
Bash
Executable File

#!/bin/bash
set -e
source dependencies.sh
echo "Downloading BYOND version $BYOND_MAJOR.$BYOND_MINOR"
curl -H "User-Agent: tgstation/1.0 CI Script" "http://www.byond.com/download/build/$BYOND_MAJOR/$BYOND_MAJOR.${BYOND_MINOR}_byond.zip" -o C:/byond.zip