fix: asset baker not taking generic path on Windows
Some checks reported errors
continuous-integration/drone/push Build was killed
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:
parent
39824de3a5
commit
6d5256e0ec
1 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue