diff options
Diffstat (limited to 'cura/CuraApplication.py')
-rwxr-xr-x | cura/CuraApplication.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index edd8872fe9..7b17583f68 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -348,6 +348,9 @@ class CuraApplication(QtApplication): for dir_name in ["extruders", "machine_instances", "materials", "plugins", "quality", "quality_changes", "user", "variants", "intent"]: Resources.addExpectedDirNameInData(dir_name) + app_root = os.path.abspath(os.path.join(os.path.dirname(sys.executable))) + Resources.addSearchPath(os.path.join(app_root, "share", "cura", "resources")) + Resources.addSearchPath(os.path.join(self._app_install_dir, "share", "cura", "resources")) if not hasattr(sys, "frozen"): resource_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "resources") |