impr: Only store paths with forward slashes in project files

Fixes #1657
This commit is contained in:
WerWolv
2024-05-08 21:30:20 +02:00
parent adbcc48de7
commit 19c02be673
9 changed files with 21 additions and 34 deletions

View File

@@ -152,7 +152,7 @@ namespace hex::plugin::builtin {
std::vector<std::string> pathStrings;
for (const auto &path : m_paths) {
pathStrings.push_back(wolv::util::toUTF8String(path));
pathStrings.push_back(wolv::io::fs::toNormalizedPathString(path));
}
return pathStrings;