mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Merge branch 'master' of github.com:Ultimaker/Cura
This commit is contained in:
commit
5852a36d94
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ class CuraPackageManager(QObject):
|
||||||
candidate_bundled_path = os.path.join(search_path, "bundled_packages.json")
|
candidate_bundled_path = os.path.join(search_path, "bundled_packages.json")
|
||||||
if os.path.exists(candidate_bundled_path):
|
if os.path.exists(candidate_bundled_path):
|
||||||
self._bundled_package_management_file_path = candidate_bundled_path
|
self._bundled_package_management_file_path = candidate_bundled_path
|
||||||
|
for search_path in (Resources.getDataStoragePath(), Resources.getConfigStoragePath()):
|
||||||
candidate_user_path = os.path.join(search_path, "packages.json")
|
candidate_user_path = os.path.join(search_path, "packages.json")
|
||||||
if os.path.exists(candidate_user_path):
|
if os.path.exists(candidate_user_path):
|
||||||
self._user_package_management_file_path = candidate_user_path
|
self._user_package_management_file_path = candidate_user_path
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue