Great job porting to dotnet 6 and adding a Linux version! This tiny PR just fixes a bug on Linux where due to the fact that RGSSAD hardcodes the path delimiter to \ and because dotnet on Unix-like hardcodes the path delimiter to /, it wasn't treating the paths from archivedFile.Name as paths, thus creating files like this:
... instead of directories. This PR fixes that by checking for what the path delimiter is and then simply replacing the archive's filenames with that.
Great job porting to dotnet 6 and adding a Linux version! This tiny PR just fixes a bug on Linux where due to the fact that RGSSAD hardcodes the path delimiter to
\
and because dotnet on Unix-like hardcodes the path delimiter to/
, it wasn't treating the paths fromarchivedFile.Name
as paths, thus creating files like this:... instead of directories. This PR fixes that by checking for what the path delimiter is and then simply replacing the archive's filenames with that.