mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
Add search path for the pyinstaller locations
Contributes to CURA-8640
This commit is contained in:
parent
d46679c19f
commit
fb22a04d4d
1 changed files with 1 additions and 0 deletions
|
@ -350,6 +350,7 @@ class CuraApplication(QtApplication):
|
|||
|
||||
app_root = os.path.abspath(os.path.join(os.path.dirname(sys.executable)))
|
||||
Resources.addSearchPath(os.path.join(app_root, "share", "cura", "resources"))
|
||||
Resources.addSearchPath(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "share", "cura", "resources"))
|
||||
|
||||
Resources.addSearchPath(os.path.join(self._app_install_dir, "share", "cura", "resources"))
|
||||
if not hasattr(sys, "frozen"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue