Skip to content

Commit

Permalink
Create user profile folder 'scripts' on startup.
Browse files Browse the repository at this point in the history
  • Loading branch information
ohlidalp committed Sep 26, 2023
1 parent 4037669 commit 1302ad7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ int main(int argc, char *argv[])

#ifdef USE_ANGELSCRIPT
App::CreateScriptEngine();
if (!FolderExists(App::sys_scripts_dir->getStr()))
{
CreateFolder(App::sys_scripts_dir->getStr());
}
#endif

App::GetGuiManager()->SetUpMenuWallpaper();
Expand Down

0 comments on commit 1302ad7

Please sign in to comment.