Use / as path separator in unpacktool

Windows handles forward slash as a path separator just fine in most
cases, so this is a sensible portable choice.
This commit is contained in:
Diomendius
2024-06-16 16:59:42 +12:00
parent 2c7947202a
commit c9da95e3de

View File

@@ -390,7 +390,7 @@ int ExtractItem(int depth, const ArchiveItem &item, const std::string &dirPath,
{
mkdir_utf8(path.c_str());
path.append("\\");
path.append("/");
int returnCode = RecursiveExtractFiles(depth + 1, item.m_children, path, pathParanoid, reader, ts);
if (returnCode)