Update executable paths in tools

merge/2021-11-19
kaetemi 3 years ago
parent cf2bf5629f
commit ef4fb03143
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -696,7 +696,7 @@ void CMissionCompilerFeDlg::OnSpecialRuncompilertest()
::fwrite(script.data(), script.size(), 1, fp); ::fwrite(script.data(), script.size(), 1, fp);
::fclose(fp); ::fclose(fp);
system((string("\"C:\\Program Files\\Beyond Compare 2\\bc2.exe\" ")+string(tmp)+"/compiled_mission.script "+ReferenceScript).c_str()); system((string("\"C:\\Program Files (x86)\\Beyond Compare 3\\BCompare.exe\" ") + string(tmp) + "/compiled_mission.script " + ReferenceScript).c_str());
} }
catch(const EParseException &e) catch(const EParseException &e)
{ {

@ -4363,14 +4363,14 @@ void CMainFrame::OnMissionCompiler()
ExecuteInfo.fMask = 0; ExecuteInfo.fMask = 0;
ExecuteInfo.hwnd = 0; ExecuteInfo.hwnd = 0;
ExecuteInfo.lpVerb = _T("open"); ExecuteInfo.lpVerb = _T("open");
ExecuteInfo.lpFile = _T("mission_compiler_fe_r.exe"); ExecuteInfo.lpFile = _T("ryzom_mission_compiler_fe.exe");
ExecuteInfo.lpParameters = 0; ExecuteInfo.lpParameters = 0;
ExecuteInfo.lpDirectory = path; ExecuteInfo.lpDirectory = path;
ExecuteInfo.nShow = SW_SHOW; ExecuteInfo.nShow = SW_SHOW;
ExecuteInfo.hInstApp = 0; ExecuteInfo.hInstApp = 0;
if(ShellExecuteEx(&ExecuteInfo) == FALSE) if(ShellExecuteEx(&ExecuteInfo) == FALSE)
errorMessage("File not found : mission_compiler_fe_r.exe !"); errorMessage("File not found : ryzom_mission_compiler_fe.exe !");
} }
// *************************************************************************** // ***************************************************************************

Loading…
Cancel
Save