diff options
author | c.lamboo <casperlamboo@gmail.com> | 2022-06-27 16:39:48 +0300 |
---|---|---|
committer | c.lamboo <casperlamboo@gmail.com> | 2022-06-27 16:39:48 +0300 |
commit | a9674620385b2580268fd73cc5a102b2f5f8592a (patch) | |
tree | 2a46a140bbdee50827e7a1888f17d65984e6622e /cura | |
parent | fab8598a05765860159b8cbc08da79de92379eec (diff) |
Add res folder to resource folder
CURA-9365
Diffstat (limited to 'cura')
-rwxr-xr-x | cura/CuraApplication.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index e1805584b0..730b0468da 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -355,8 +355,8 @@ class CuraApplication(QtApplication): Resources.addSecureSearchPath(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") - Resources.addSecureSearchPath(resource_path) + Resources.addSecureSearchPath(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "resources")) + Resources.addSecureSearchPath(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "..", "res", "resources")) @classmethod def _initializeSettingDefinitions(cls): |