mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-10-20 15:37:15 +00:00
fix icons folder not being created if it doesn't exist
This commit is contained in:
1 parent
53fffdb802
commit
8d8bb86413
1 file changed
+5
@@ -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