Added "Desktop" in special folder (in files navigation)

This commit is contained in:
Nicola Carminati
2018-07-24 10:37:36 +02:00
parent 481ef2b0c4
commit 8f30de0a8a
+8 -1
View File
@@ -287,6 +287,13 @@ namespace CMS_Client.Browser_Tools
Type = ElaborateType(drive.DriveType)
});
}
drivelist.Add(new Drive()
{
Name = ElaborateName("Desktop", DriveType.Unknown),
Path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop)+"\\",
Type = "SPFO"
});
e.SetReturnValue(JsonConvert.SerializeObject(drivelist));
}
@@ -430,7 +437,7 @@ namespace CMS_Client.Browser_Tools
case DriveType.Removable: return "USB";
case DriveType.Network: return "NTW";
}
return "UNDEFINED";
return "SPFO";
}