change to using actions on rdgen, added linux and android initial support
This commit is contained in:
@@ -1 +1,11 @@
|
||||
<a href='/download?filename={{filename}}&uuid={{uuid}}'>{{filename}}</a>
|
||||
{% if platform == 'windows' %}
|
||||
<a href='/download?filename={{filename}}.exe&uuid={{uuid}}'>{{filename}}.exe</a>
|
||||
{% elif platform == 'linux' %}
|
||||
<a href='/download?filename={{filename}}.deb&uuid={{uuid}}'>{{filename}}.deb</a><br>
|
||||
<a href='/download?filename={{filename}}.rpm&uuid={{uuid}}'>{{filename}}.rpm</a><br>
|
||||
<a href='/download?filename={{filename}}-suse.rpm&uuid={{uuid}}'>{{filename}}-suse.rpm</a>
|
||||
{% elif platform == 'android' %}
|
||||
<a href='/download?filename={{filename}}.apk&uuid={{uuid}}'>{{filename}}.apk</a>
|
||||
{% else %}
|
||||
Error, no file generated
|
||||
{% endif %}
|
||||
@@ -8,7 +8,7 @@
|
||||
Status: {{status}}
|
||||
<script>
|
||||
setTimeout(function() {
|
||||
window.location.replace('/check_for_file?filename={{filename}}&uuid={{uuid}}');
|
||||
window.location.replace('/check_for_file?filename={{filename}}&uuid={{uuid}}&platform={{platform}}');
|
||||
}, 5000); // 5000 milliseconds = 5 seconds
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user