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

This commit is contained in:
Sam39 committed 2022-08-18 16:47:02 +03:00
1 parent 53fffdb802
commit 8d8bb86413
1 file changed
+5
+5
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();