Switch download links to GitHub to avoid the hug of death on TF

This commit is contained in:
Yuri Sizov
2023-03-01 17:34:43 +01:00
parent 4e0ba4eb5d
commit c92b3811c4
2 changed files with 4 additions and 19 deletions

View File

@@ -91,7 +91,7 @@ layout: default
{% if download.custom %}
{{download.custom}}
{% else %}
https://downloads.tuxfamily.org/godotengine/{{stable_version.name}}/{% if download.mono %}mono/{% endif %}Godot_v{{stable_version.name}}-stable_{{ download.slug }}
https://github.com/godotengine/godot/releases/download/{{stable_version.name}}/Godot_v{{stable_version.name}}-stable_{{ download.slug }}
{% endif %}
{% endcapture %}
@@ -103,14 +103,14 @@ layout: default
{% unless page.ignore_export %}
<div class="download">
<a href="https://downloads.tuxfamily.org/godotengine/{{stable_version.name}}/Godot_v{{stable_version.name}}-stable_export_templates.tpz">
<a href="https://github.com/godotengine/godot/releases/download/{{stable_version.name}}/Godot_v{{stable_version.name}}-stable_export_templates.tpz">
Export templates (Standard)
</a>
<span class="download-details">Used to export your games to all supported platforms</span>
</div>
{% unless page.ignore_mono %}
<div class="download">
<a href="https://downloads.tuxfamily.org/godotengine/{{stable_version.name}}/mono/Godot_v{{stable_version.name}}-stable_mono_export_templates.tpz">
<a href="https://github.com/godotengine/godot/releases/download/{{stable_version.name}}/Godot_v{{stable_version.name}}-stable_mono_export_templates.tpz">
Export templates (.NET)
</a>
<span class="download-details">Used to export your games to all supported platforms · C# support</span>
@@ -215,21 +215,6 @@ layout: default
</p>
</div>
<div class="other-download-card">
<h3>AAR library for Android</h3>
<p>Use it to develop Android plugins in Java or Kotlin using the Godot API.</p>
<p>
<a href="https://downloads.tuxfamily.org/godotengine/{{stable_version.name}}/godot-lib.{{stable_version.name}}.stable.release.aar">
AAR library (standard)
</a>
</p>
<p>
<a href="https://downloads.tuxfamily.org/godotengine/{{stable_version.name}}/mono/godot-lib.{{stable_version.name}}.stable.mono.release.aar">
AAR library (.NET / C#)
</a>
</p>
</div>
<div class="other-download-card">
<h3>Blender ESCN exporter</h3>
<p>

View File

@@ -450,7 +450,7 @@ layout: default
<h4>Create data-driven elements with custom resources</h4>
<p>
<strong>New in 4.0:</strong> Define scriptable objects called resources
to describe charaters, entities, and data structures in your game. Use
to describe characters, entities, and data structures in your game. Use
your custom objects directly in the editor by assigning them to nodes.
Resources come with high-level API to store and read them, and they support
every Godot type, including other resources.