Skip to content

Commit 568e304

Browse files
committed
Download SDL from GitHub Releases
Removes burden on libsdl.org and should be more reliable.
1 parent e124bbe commit 568e304

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎build_sdl.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def get_sdl_file(version: str) -> Path:
182182
assert sys.platform == "darwin"
183183
sdl_archive = f"SDL3-{version}.dmg"
184184
sdl_local_file = Path("dependencies", sdl_archive)
185-
sdl_remote_url = f"https://www.libsdl.org/release/{sdl_archive}"
185+
sdl_remote_url = f"https://github.com/libsdl-org/SDL/releases/download/release-{version}/{sdl_archive}"
186186
if not sdl_local_file.exists():
187187
logger.info(f"Downloading {sdl_remote_url}")
188188
Path("dependencies/").mkdir(parents=True, exist_ok=True)

0 commit comments

Comments
 (0)