mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Use the app_root to obtain the resources
Contributes to CURA-9365
This commit is contained in:
parent
1c77eb07a4
commit
8500e34f25
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ class CuraApplication(QtApplication):
|
||||||
Resources.addSearchPath(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "..", "plugins"))
|
Resources.addSearchPath(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "..", "plugins"))
|
||||||
|
|
||||||
# venv site-packages
|
# 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
|
@classmethod
|
||||||
def _initializeSettingDefinitions(cls):
|
def _initializeSettingDefinitions(cls):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue