Font fix and forkable docs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user