Probably a good idea to look for rcerror as rcerror.exe on Windows.

--HG--
branch : feature-crashreport
This commit is contained in:
dfighter1985 2015-02-20 02:03:33 +01:00
parent 03ce683e49
commit 9518a80c99

View file

@ -76,7 +76,11 @@ TReportResult report (const std::string &title, const std::string &header, const
f << body; f << body;
f.close(); f.close();
#ifdef NL_OS_WINDOWS
NLMISC::launchProgram( "rcerror.exe", fname );
#else
NLMISC::launchProgram( "rcerror", fname ); NLMISC::launchProgram( "rcerror", fname );
#endif
} }
NLMISC::CFile::deleteFile( fname ); NLMISC::CFile::deleteFile( fname );