mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-10-25 15:53:11 +03:00
Allow selecting and copying text in UIConsole.
IniFile detects BOM headers. Fix small bug when opening ecode logs.
This commit is contained in:
@@ -471,10 +471,12 @@ bool App::loadConfig( const LogLevel& logLevel, const Sizeu& displaySize, bool s
|
||||
FileSystem::makeDir( mThemesPath );
|
||||
FileSystem::dirAddSlashAtEnd( mThemesPath );
|
||||
|
||||
mLogsPath = mConfigPath + "ecode.log";
|
||||
|
||||
#ifndef EE_DEBUG
|
||||
Log::create( mConfigPath + "ecode.log", logLevel, stdOutLogs, !disableFileLogs );
|
||||
Log::create( mLogsPath, logLevel, stdOutLogs, !disableFileLogs );
|
||||
#else
|
||||
Log::create( mConfigPath + "ecode.log", logLevel, stdOutLogs, !disableFileLogs );
|
||||
Log::create( mLogsPath, logLevel, stdOutLogs, !disableFileLogs );
|
||||
#endif
|
||||
|
||||
Log::instance()->setKeepLog( true );
|
||||
@@ -3480,7 +3482,7 @@ void App::init( const LogLevel& logLevel, std::string file, const Float& pidelDe
|
||||
|
||||
#if EE_PLATFORM != EE_PLATFORM_EMSCRIPTEN
|
||||
mFileWatcher = new efsw::FileWatcher();
|
||||
mFileSystemListener = new FileSystemListener( mSplitter, mFileSystemModel );
|
||||
mFileSystemListener = new FileSystemListener( mSplitter, mFileSystemModel, { mLogsPath } );
|
||||
mFileWatcher->addWatch( mPluginsPath, mFileSystemListener );
|
||||
mFileWatcher->watch();
|
||||
mPluginManager->setFileSystemListener( mFileSystemListener );
|
||||
|
||||
Reference in New Issue
Block a user