canneverbe / Ketarin

Ketarin - application download helper
http://ketarin.org/
Other
135 stars 19 forks source link

Stop using explicit \ as directory separator #2

Closed franc6 closed 5 years ago

franc6 commented 5 years ago

This one includes a single change that's more Linux-specific*. Look at FixDirectorySeparator() in CDBurner/PathEx.cs. It checks which style of directory separator is in use, and changes the opposite one to it. This is really needed on Linux, as someone might be importing configuration from a Windows box (actually, going the other way, this will make it look nicer, although on Windows / will be seen as a directory separator, so it works without). I can easily redo this pull request to remove that coding change if you like, since it's really only needed on Linux.