mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 16:39:00 +08:00
Always try to remove old package files before installing new
CURA-5442
This commit is contained in:
parent
c5929ce26c
commit
4652c3be0f
@ -306,8 +306,7 @@ class CuraPackageManager(QObject):
|
||||
|
||||
Logger.log("i", "Installing package [%s] from file [%s]", package_id, filename)
|
||||
|
||||
# If it's installed, remove it first and then install
|
||||
if package_id in self._installed_package_dict:
|
||||
# remove it first and then install
|
||||
self._purgePackage(package_id)
|
||||
|
||||
# Install the package
|
||||
|
Loading…
x
Reference in New Issue
Block a user