mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-02-16 10:40:46 +00:00
fix icons folder not being created if it doesn't exist
This commit is contained in:
@@ -308,6 +308,11 @@ void WindowsConsole (bool isChecked);
|
||||
|
||||
/////////// OnInit Function ///////////
|
||||
bool MyApp::OnInit() {
|
||||
|
||||
if(!fs::exists("icons")) {
|
||||
fs::create_directory("icons");
|
||||
}
|
||||
|
||||
Log::Init();
|
||||
LoadConfig();
|
||||
CheckKey();
|
||||
|
||||
Reference in New Issue
Block a user