Add custom console and allow runtimes to set the config dir

This commit is contained in:
2025-08-21 08:18:29 -05:00
parent 52218d6c2d
commit 05713fc39c
10 changed files with 49 additions and 6 deletions

View File

@@ -13,9 +13,13 @@ namespace Tesses::CrossLang
static char EnvPathSeperator=':';
#endif
Tesses::Framework::Filesystem::VFSPath CrossLangConfigPath("");
Tesses::Framework::Filesystem::VFSPath GetCrossLangConfigDir()
{
if(!CrossLangConfigPath.path.empty())
return CrossLangConfigPath;
return SpecialFolders::GetConfig() / "Tesses" / "CrossLang";
}