mirror of
https://github.com/Readarr/Readarr.git
synced 2026-09-22 03:05:03 -04:00
fixed linux path conversion.
This commit is contained in:
1 parent
05370518c5
commit
fc9937bb7d
1 file changed
+1
@@ -12,6 +12,7 @@ public static string AsOsAgnostic(this string path)
|
||||
if (path.Length > 2 && path[1] == ':')
|
||||
{
|
||||
path = path.Replace(':', Path.DirectorySeparatorChar);
|
||||
path = Path.DirectorySeparatorChar + path;
|
||||
}
|
||||
path = path.Replace("\\", Path.DirectorySeparatorChar.ToString());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user