mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -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"))
|
||||
|
||||
# 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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue