mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 19:25:58 +08:00
Don't forcefully remove bundled packages when updating
Contributes to CURA-8587
This commit is contained in:
parent
11c2ccd227
commit
d876b85259
@ -288,6 +288,6 @@ class PackageList(ListModel):
|
|||||||
|
|
||||||
:param package_id: the package identification string
|
:param package_id: the package identification string
|
||||||
"""
|
"""
|
||||||
self._manager.removePackage(package_id, force_add = True)
|
self._manager.removePackage(package_id, force_add = not self._manager.isBundledPackage(package_id))
|
||||||
url = self._manager.package_infosWithUpdate[package_id]["download_url"]
|
url = self._manager.package_infosWithUpdate[package_id]["download_url"]
|
||||||
self.download(package_id, url, True)
|
self.download(package_id, url, True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user