From 7e9870c6cb782febd0a76e592e072824fbc94aa7 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Mon, 18 May 2015 15:00:53 +0200 Subject: [PATCH] Set default engine location to unix standard bin dir Contributes to #41 Contributes to #42 --- plugins/CuraEngineBackend/CuraEngineBackend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/CuraEngineBackend/CuraEngineBackend.py b/plugins/CuraEngineBackend/CuraEngineBackend.py index 9655a4d08e..7c52a3c6cb 100644 --- a/plugins/CuraEngineBackend/CuraEngineBackend.py +++ b/plugins/CuraEngineBackend/CuraEngineBackend.py @@ -26,7 +26,7 @@ class CuraEngineBackend(Backend): super().__init__() # Find out where the engine is located, and how it is called. This depends on how Cura is packaged and which OS we are running on. - default_engine_location = "../PinkUnicornEngine/CuraEngine" + default_engine_location = os.path.join(Application.getInstallPrefix(), "bin", "CuraEngine") if hasattr(sys, "frozen"): default_engine_location = os.path.join(os.path.dirname(os.path.abspath(sys.executable)), "CuraEngine") if sys.platform == "win32":