mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
Parse the firmware-update-check lookup-tables from a (new) .json instead of hardcoded.
This commit is contained in:
parent
12999f48c8
commit
6c2791f382
3 changed files with 101 additions and 55 deletions
36
plugins/FirmwareUpdateChecker/resources/machines.json
Normal file
36
plugins/FirmwareUpdateChecker/resources/machines.json
Normal file
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"_comment": "Multiple 'update_urls': The 'new'-style URL is the only way to check for S5 firmware, and in the future, the UM3 line will also switch over, but for now the old 'JEDI'-style URL is still needed.",
|
||||
|
||||
"machines":
|
||||
[
|
||||
{
|
||||
"id": 9066,
|
||||
"name": "ultimaker 3",
|
||||
"check_urls":
|
||||
[
|
||||
"http://software.ultimaker.com/jedi/releases/latest.version?utm_source=cura&utm_medium=software&utm_campaign=resources",
|
||||
"http://software.ultimaker.com/releases/firmware/9066/stable/version.txt"
|
||||
],
|
||||
"update_url": "https://ultimaker.com/en/resources/20500-upgrade-firmware",
|
||||
"version_parser": "default"
|
||||
},
|
||||
{
|
||||
"id": 9511,
|
||||
"name": "ultimaker 3 extended",
|
||||
"check_urls":
|
||||
[
|
||||
"http://software.ultimaker.com/jedi/releases/latest.version?utm_source=cura&utm_medium=software&utm_campaign=resources",
|
||||
"http://software.ultimaker.com/releases/firmware/9511/stable/version.txt"
|
||||
],
|
||||
"update_url": "https://ultimaker.com/en/resources/20500-upgrade-firmware",
|
||||
"version_parser": "default"
|
||||
},
|
||||
{
|
||||
"id": 9051,
|
||||
"name": "ultimaker s5",
|
||||
"check_urls": ["http://software.ultimaker.com/releases/firmware/9051/stable/version.txt"],
|
||||
"update_url": "https://ultimaker.com/en/resources/20500-upgrade-firmware",
|
||||
"version_parser": "default"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue