You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
3.2 KiB

{% extends "base.html" %}
{% block title %}{{ SHORT_SITENAME }} - {{ page.title|striptags }}{%endblock%}
{% block header %}{{ LONG_SITENAME }}{%endblock%}
{% block menuheader %}
{% import "_macros/menu.html" as macros %}
{{ macros.render_menu(page.slug) }}
{% endblock menuheader %}
{% block content %}
{% if page.slug == "download" %}
<h1>Latest release: <code class="latest_version"></code>
<span style="font-size:16px;" class="latest_date"></span></h1>
<p>You may also grab the executable(s) straight from our <a href="https://git.wownero.com/wowlet/wowlet/releases">git releases page.</a></p>
<table>
<tbody>
<tr class="windows">
<td><img src="/theme/img/Windows-icon.png" class="icon">Windows <span style="font-size:80%">(8 and higher)</span></td>
<td><a class="download" href="#">Standalone executable</a></td>
<td class="size">-</td>
<td></td>
</tr>
<tr class="linux">
<td rowspan="2"><img src="/theme/img/Linux-icon.png" class="icon">Linux</td>
<td><a class="download" href="#">Standalone executable</a></td>
<td class="size">-</td>
<td></td>
</tr>
<tr></tr>
<tr class="macos">
<td><img src="/theme/img/macOS-icon.png" class="icon">macOS <span style="font-size:80%">(10.0 and higher)</span></td>
<td><a class="download" href="#">Executable</a></td>
<td class="size">-</td>
<td></td>
</tr>
<tr>
<td><img src="/theme/img/Feather-icon.png" class="icon">Source code</td>
<td><a href="https://git.wownero.com/wowlet/wowlet">Git repository</a></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<br>
<h3>Release note(s):</h3>
<pre class="description">-
</pre>
<h3>PGP verification How-To:</h3>
The release above is signed with a PGP key that can be found
<a href="https://git.wownero.com/wowlet/wowlet/src/branch/master/utils/pubkeys">inside the git repository</a>.
The signed message usually contains checksum(s) for the individual files.
So, in short:
<ol>
<li>Import the public key from the git repository</li>
<li>Verify that the above PGP signed message is signed with this key</li>
<li>Verify the checksum(s)</li>
</ol>
The steps above are not outlined in detail because they usually involve issuing different
terminal commands which depend on the operating system that you are currently using.
<script>
getVersion((data) => {
$('code.latest_version').html(data['name']);
$('.latest_date').html(`(${data['published_at']})`);
$('pre.description').html(data['body']);
let linux = $('tr.linux');
let windows = $('tr.windows');
let macos = $('tr.macos');
linux.find('a.download').attr('href', data['linux']['download']);
linux.find('td.size').html(data['linux']['size']);
windows.find('a.download').attr('href', data['windows']['download']);
windows.find('td.size').html(data['windows']['size']);
macos.find('a.download').attr('href', data['macos']['download']);
macos.find('td.size').html(data['macos']['size']);
});
</script>
{% else %}
{{ page.content }}
{% endif %}
{% endblock %}