Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cura
diff options
context:
space:
mode:
authorj.spijker@ultimaker.com <jelle spijker>2022-07-08 10:26:27 +0300
committerjspijker <j.spijker@ultimaker.com>2022-07-08 10:26:27 +0300
commit8500e34f25e2ff83eb819fffe8bb84c77643964f (patch)
tree694eee3d0f8d130b5dc065a5d38098ceaf7b8851 /cura
parent1c77eb07a4c25749cb68b7d901670a4ff7c73153 (diff)
Use the app_root to obtain the resources
Contributes to CURA-9365
Diffstat (limited to 'cura')
-rwxr-xr-xcura/CuraApplication.py2
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):