Font fix and forkable docs
All checks were successful
CI / React UI Build (push) Successful in 12s
CI / Native Windows Build And Tests (push) Successful in 2m52s
CI / Windows Release Package (push) Has been skipped

This commit is contained in:
Aiden
2026-05-30 15:01:36 +10:00
parent cfb796756d
commit d0b1f63524
4 changed files with 158 additions and 7 deletions

View File

@@ -22,7 +22,8 @@ std::filesystem::path RepoRoot()
std::filesystem::path path = std::filesystem::current_path();
while (!path.empty())
{
if (std::filesystem::exists(path / "3rdParty" / "msdf-atlas-gen" / "msdf-atlas-gen.exe"))
if (std::filesystem::exists(path / "CMakeLists.txt") &&
std::filesystem::exists(path / "shaders" / "text-overlay" / "shader.json"))
return path;
const std::filesystem::path parent = path.parent_path();
if (parent.empty() || parent == path)