[gimp-web/wip/schumaml/download-magnet-uris: 200/200] downloads: add magnet uris for macOS and Microsoft Windows torrents
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/wip/schumaml/download-magnet-uris: 200/200] downloads: add magnet uris for macOS and Microsoft Windows torrents
- Date: Sat, 19 Dec 2020 22:20:22 +0000 (UTC)
commit 35669e243bac16ecaa527a0f025b022f3b4b1882
Author: Michael Schumacher <schumaml gmx de>
Date: Sat Dec 19 23:08:00 2020 +0100
downloads: add magnet uris for macOS and Microsoft Windows torrents
Added xt (sha256), dn (filename) and xs (/mirror/pub/... url) parameters.
themes/newgimp/templates/downloads.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/themes/newgimp/templates/downloads.html b/themes/newgimp/templates/downloads.html
index aeffb2f3..24588879 100644
--- a/themes/newgimp/templates/downloads.html
+++ b/themes/newgimp/templates/downloads.html
@@ -143,8 +143,7 @@
Download GIMP {{ MACOS_VER }}<br/>
via BitTorrent
</a>
-
- <a href="magnet:?xt=urn:{{MACOS_HASH_FUN}}:{{MACOS_HASH}}">🧲</a>
+ <a href="magnet:?xt=urn:{{MACOS_HASH_FUN}}:{{MACOS_HASH}}&dn={{ MACOS_FILE
}}&xs=https://download.gimp.org/mirror/pub/gimp/v{{ MACOS_MAJOR_MINOR_VER }}/osx/{{ MACOS_FILE }}">🧲</a>
</span>
<span class='win-button'>
<a href="//download.gimp.org/mirror/pub/gimp/v{{ MACOS_MAJOR_MINOR_VER }}/osx/{{ MACOS_FILE
}}">
@@ -283,6 +282,7 @@
Download GIMP {{ WINDOWS_VER }}<br/>
via BitTorrent
</a>
+ <a href="magnet:?xt=urn:{{WINDOWS_HASH_FUN}}:{{WINDOWS_HASH}}&dn={{ WINDOWS_FILE
}}&xs=https://download.gimp.org/mirror/pub/gimp/v{{ WINDOWS_MAJOR_MINOR_VER }}/windows/{{ WINDOWS_FILE
}}">🧲</a>
</span>
<span class='win-button'>
<a
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]