From: rnv Date: Thu, 15 Sep 2016 11:01:47 +0000 (+0300) Subject: Fix for '23344: [CEA 1950] Hybrid doesn't work on Windows' issue. X-Git-Tag: V8_1_0rc1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8fa8d418a1683e687c89f4a3432b221dcb1dc6cc;p=plugins%2Fhybridplugin.git Fix for '23344: [CEA 1950] Hybrid doesn't work on Windows' issue. --- diff --git a/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx b/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx index 8cca352..7eaae44 100644 --- a/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx +++ b/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx @@ -1931,7 +1931,11 @@ std::string HYBRIDPlugin_Hypothesis::GetFileName(const HYBRIDPlugin_Hypothesis* std::string HYBRIDPlugin_Hypothesis::GetExeName() { //call mg-hybrid.bash is script which assumes new project version(s) mg-hybrid.exe in the prerequisite base and special? licence. +#ifdef WIN32 + return "mg-hybrid.exe" +#else return "mg-hybrid.bash"; +#endif } //================================================================================