fix: asset baker not taking generic path on Windows
Some checks reported errors
continuous-integration/drone/push Build was killed

Technically this will cause failure on non utf-8 text, but freak it for now...
This commit is contained in:
light7734 2026-01-04 18:34:12 +03:30
parent 39824de3a5
commit 6d5256e0ec

View file

@ -3,7 +3,6 @@ import logger;
import bakers;
import std;
auto main(int argc, char *argv[]) -> std::int32_t
try
{
@ -21,7 +20,8 @@ try
}
const auto &in_path = directory_iterator.path();
const auto out_path = std::format("{}.asset", in_path.c_str());
const std::string in_path_str = in_path.generic_string();
const auto out_path = std::format("{}.asset", in_path_str);
if (in_path.extension() == ".vert")
{