mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
the mud called me a drunk
This commit is contained in:
parent
081b59d749
commit
bf3dbc26a5
1 changed files with 10 additions and 4 deletions
|
@ -214,12 +214,18 @@ namespace ShiftOS.Server
|
|||
targets = new Dictionary<string, string>();
|
||||
foreach(var dir in dirs)
|
||||
{
|
||||
string sDir = dir.Replace("\\", "/");
|
||||
while (!sDir.StartsWith("shiftnet/"))
|
||||
if (!string.IsNullOrWhiteSpace(dir))
|
||||
{
|
||||
sDir = sDir.Remove(0, 1);
|
||||
string sDir = dir.Replace("\\", "/");
|
||||
if (sDir.Contains("shiftnet"))
|
||||
{
|
||||
while (!sDir.StartsWith("shiftnet/"))
|
||||
{
|
||||
sDir = sDir.Remove(0, 1);
|
||||
}
|
||||
targets.Add(dir, output + "/" + sDir);
|
||||
}
|
||||
}
|
||||
targets.Add(dir, output + "/" + sDir);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue