mirror of
https://github.com/godotengine/godot-website.git
synced 2026-01-04 06:09:55 +03:00
Switch GitHub download links to the new repo
Every available release is now mirrored on GitHub, so we can finally update the mirror list and the download archive to point there, which offers better download speeds for users. Also added all release dates to the versions file.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
HOST_TUXFAMILY = "https://downloads.tuxfamily.org/godotengine"
|
||||
HOST_GITHUB = "https://github.com/godotengine/godot/releases/download"
|
||||
HOST_GITHUB_BUILDER = "https://github.com/GodotBuilder/godot-builds/releases/download"
|
||||
HOST_GITHUB_BUILDS = "https://github.com/godotengine/godot-builds/releases/download"
|
||||
|
||||
module MakeDownloadFilter
|
||||
def get_download_platforms(input, mono = false)
|
||||
@@ -96,8 +96,8 @@ module MakeDownloadFilter
|
||||
|
||||
if host == "github"
|
||||
return "#{HOST_GITHUB}/#{version_name}-#{version_flavor}/#{download_file}"
|
||||
elsif host == "github_builder"
|
||||
return "#{HOST_GITHUB_BUILDER}/#{version_majmin}-prerelease-templates/#{download_file}"
|
||||
elsif host == "github_builds"
|
||||
return "#{HOST_GITHUB_BUILDS}/#{version_name}-#{version_flavor}/#{download_file}"
|
||||
elsif host == "tuxfamily"
|
||||
if version_flavor == "stable"
|
||||
return "#{HOST_TUXFAMILY}/#{version_name}#{mono_slug}/#{download_file}"
|
||||
|
||||
Reference in New Issue
Block a user