fix icons folder not being created if it doesn't exist

This commit is contained in:
Sam39
2022-08-18 16:47:02 +03:00
parent 53fffdb802
commit 8d8bb86413

View File

@@ -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();