mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 18:16:31 +03:00
Fix ecode --health for Windows.
VS compilation now uses UTF-8 for the source code encoding.
This commit is contained in:
@@ -2834,10 +2834,14 @@ static std::string getCurrentProcessPath() {
|
||||
|
||||
void App::checkLanguagesHealth() {
|
||||
auto path( getCurrentProcessPath() );
|
||||
path += " --health";
|
||||
#if EE_PLATFORM == EE_PLATFORM_WIN
|
||||
UITerminal* term = mTerminalManager->createNewTerminal(
|
||||
"", nullptr, "", Sys::getPlatform() == "Windows" ? "cmd.exe" : "" );
|
||||
#else
|
||||
UITerminal* term = mTerminalManager->createNewTerminal();
|
||||
#endif
|
||||
term->setFocus();
|
||||
term->executeFile( path );
|
||||
term->executeBinary( path, "--health" );
|
||||
}
|
||||
|
||||
void App::cleanUpRecentFolders() {
|
||||
|
||||
Reference in New Issue
Block a user