Building LocalizationResourceGenerator on Linux crashes with a DirectoryNotFoundException / FileNotFoundException.
In Tools/LocalizationResourceGenerator/src/LocalizationResourceGenerator/Program.cs, the paths for LocalizationResourceOutPath and LocalizationResourcePath use Windows-style backslashes (\\). Linux treats backslashes as regular filename characters, causing the path resolution to fail.
I believe changing the backslashes to forward slashes (/). will fix the issue and work on Linux, without breaking the Windows build.
Example:
"../../src/IronyModManager/Localization/en.json"
instead of
"..\\..\\src\\IronyModManager\\Localization\\en.json"
Let me know if you would like me to make a PR.
Thanks!
Building
LocalizationResourceGeneratoron Linux crashes with aDirectoryNotFoundException/FileNotFoundException.In
Tools/LocalizationResourceGenerator/src/LocalizationResourceGenerator/Program.cs, the paths forLocalizationResourceOutPathandLocalizationResourcePathuse Windows-style backslashes (\\). Linux treats backslashes as regular filename characters, causing the path resolution to fail.I believe changing the backslashes to forward slashes (
/). will fix the issue and work on Linux, without breaking the Windows build.Example:
"../../src/IronyModManager/Localization/en.json"instead of
"..\\..\\src\\IronyModManager\\Localization\\en.json"Let me know if you would like me to make a PR.
Thanks!