mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Download packages to be installed and show a message with progress.
CURA-6983
This commit is contained in:
parent
883243b533
commit
84e676c1f8
4 changed files with 133 additions and 7 deletions
|
@ -33,7 +33,13 @@ class SubscribedPackagesModel(ListModel):
|
|||
for item in self._metadata:
|
||||
if item["package_id"] not in self._discrepancies:
|
||||
continue
|
||||
package = {"package_id": item["package_id"], "name": item["display_name"], "sdk_versions": item["sdk_versions"]}
|
||||
package = {
|
||||
"package_id": item["package_id"],
|
||||
"name": item["display_name"],
|
||||
"sdk_versions": item["sdk_versions"],
|
||||
"download_url": item["download_url"],
|
||||
"md5_hash": item["md5_hash"],
|
||||
}
|
||||
if self._sdk_version not in item["sdk_versions"]:
|
||||
package.update({"is_compatible": False})
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue