diff options
author | j.spijker@ultimaker.com <jelle spijker> | 2022-07-08 10:26:27 +0300 |
---|---|---|
committer | jspijker <j.spijker@ultimaker.com> | 2022-07-08 10:26:27 +0300 |
commit | 8500e34f25e2ff83eb819fffe8bb84c77643964f (patch) | |
tree | 694eee3d0f8d130b5dc065a5d38098ceaf7b8851 /cura | |
parent | 1c77eb07a4c25749cb68b7d901670a4ff7c73153 (diff) |
Use the app_root to obtain the resources
Contributes to CURA-9365
Diffstat (limited to 'cura')
-rwxr-xr-x | cura/CuraApplication.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index dd67e48c20..aac1338444 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -362,7 +362,7 @@ class CuraApplication(QtApplication): Resources.addSearchPath(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "..", "plugins")) # venv site-packages - Resources.addSearchPath(os.path.join(os.path.dirname(sys.executable), "..", "share", "cura", "resources")) + Resources.addSearchPath(os.path.join(app_root, "..", "share", "cura", "resources")) @classmethod def _initializeSettingDefinitions(cls): |