Add res folder to resource folder

CURA-9365
This commit is contained in:
c.lamboo 2022-06-27 15:39:48 +02:00
parent fab8598a05
commit a967462038

View File

@ -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):