-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathdevices-beta.json
More file actions
19 lines (19 loc) · 1.15 KB
/
devices-beta.json
File metadata and controls
19 lines (19 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
permalink: /api/devices-beta
---
{
{% for device in site.devicesbeta %}
{% assign buildDateStart = device.filename.size | minus: 12 %}{% assign buildDateStartWithTime = device.filename.size | minus: 19 %}{% assign buildDateFinal = device.filename.size | minus: 4 %}"{{device.codename}}": {
"fullname": "{{device.fullname}}",
"maintainer": "{{device.maintainer}}",
"filename": "{{device.filename}}",
{% if device.newformat %}"buildate": "{{device.filename | slice: buildDateStartWithTime,buildDateFinal | remove: ".zip"}}",{% else %}"buildate": "{{device.filename | slice: buildDateStart,buildDateFinal | remove: ".zip"}}-191140",{% endif %}
"buildsize": "{{device.buildsize}}",
"id": "{{ forloop.index }}",
"download": {% if device.directmirror %}"{{ device.directmirror }}/{{ device.filename }}",{% else %}"https://downloads.sourceforge.net/project/bootleggersrom/builds/{{ device.codename }}/{{ device.filename }}",{% endif %}
"downloadfolder": "https://sourceforge.net/projects/bootleggersrom/files/builds/{{ device.codename }}",
"mirrorlink": "{{device.mirrorlink}}",
"changelog": "{{device.changelog}}"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
}