mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Loader for demos.
This commit is contained in:
@@ -1408,6 +1408,7 @@ void App::onCodeEditorCreated( UICodeEditor* editor, TextDocument& doc ) {
|
||||
downloadFileWeb( url );
|
||||
if ( mEditorSplitter->getCurEditor() )
|
||||
mEditorSplitter->getCurEditor()->setFocus();
|
||||
msgBox->closeWindow();
|
||||
} );
|
||||
} );
|
||||
|
||||
@@ -2430,6 +2431,10 @@ void App::init( const std::string& file, const Float& pidelDensity ) {
|
||||
|
||||
initProjectTreeView( file );
|
||||
|
||||
#if EE_PLATFORM == EE_PLATFORM_EMSCRIPTEN
|
||||
downloadFileWeb( "https://raw.githubusercontent.com/SpartanJ/eepp/develop/README.md" );
|
||||
#endif
|
||||
|
||||
mWindow->runMainLoop( &appLoop );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user