mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
more linux fixes
This commit is contained in:
parent
c2b4eadc47
commit
67661c6893
3 changed files with 26 additions and 12 deletions
|
@ -11,7 +11,8 @@ namespace NzbDrone.Test.Common
|
|||
{
|
||||
if (path.Length > 2 && path[1] == ':')
|
||||
{
|
||||
path = path.Replace(':', Path.DirectorySeparatorChar);
|
||||
path = path.Replace(":", "");
|
||||
path = Path.DirectorySeparatorChar + path;
|
||||
}
|
||||
path = path.Replace("\\", Path.DirectorySeparatorChar.ToString());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue