mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-06-19 15:11:15 +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 ///////////
|
/////////// OnInit Function ///////////
|
||||||
bool MyApp::OnInit() {
|
bool MyApp::OnInit() {
|
||||||
|
|
||||||
|
if(!fs::exists("icons")) {
|
||||||
|
fs::create_directory("icons");
|
||||||
|
}
|
||||||
|
|
||||||
Log::Init();
|
Log::Init();
|
||||||
LoadConfig();
|
LoadConfig();
|
||||||
CheckKey();
|
CheckKey();
|
||||||
|
|||||||
Reference in New Issue
Block a user