mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-31 02:25:57 +08:00
Merge branch 'master' of github.com:Ultimaker/Cura
This commit is contained in:
commit
5852a36d94
@ -32,6 +32,7 @@ class CuraPackageManager(QObject):
|
||||
candidate_bundled_path = os.path.join(search_path, "bundled_packages.json")
|
||||
if os.path.exists(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")
|
||||
if os.path.exists(candidate_user_path):
|
||||
self._user_package_management_file_path = candidate_user_path
|
||||
|
Loading…
x
Reference in New Issue
Block a user