Fix Run behavior on Windowses without terminal support. Now opens cmd.exe with a bat script helper that waits the user to terminate the process after it run.

ProjectBuild and StatusBuildOutputController clean up (unify build and clean).
This commit is contained in:
Martín Lucas Golini
2024-04-19 19:42:57 -03:00
parent e01a03ad8c
commit 944d6eeab3
10 changed files with 181 additions and 220 deletions

View File

@@ -505,6 +505,7 @@ bool App::loadConfig( const LogLevel& logLevel, const Sizeu& displaySize, bool s
mPluginsPath = mConfigPath + "plugins";
mLanguagesPath = mConfigPath + "languages";
mThemesPath = mConfigPath + "themes";
mScriptsPath = mConfigPath + "scripts";
mColorSchemesPath = mConfigPath + "editor" + FileSystem::getOSSlash() + "colorschemes" +
FileSystem::getOSSlash();
mTerminalManager = std::make_unique<TerminalManager>( this );
@@ -525,6 +526,10 @@ bool App::loadConfig( const LogLevel& logLevel, const Sizeu& displaySize, bool s
FileSystem::makeDir( mThemesPath );
FileSystem::dirAddSlashAtEnd( mThemesPath );
if ( !FileSystem::fileExists( mScriptsPath ) )
FileSystem::makeDir( mScriptsPath );
FileSystem::dirAddSlashAtEnd( mScriptsPath );
mLogsPath = mConfigPath + "ecode.log";
#ifndef EE_DEBUG