Cleaning out Desktop Shell extension

This commit is contained in:
Terry MacDonald 2020-12-09 21:44:44 +13:00
parent 33b3520a10
commit e0f797c1cd

View File

@ -5,7 +5,6 @@ using System.IO;
using System;
using SharpShell.Attributes;
using SharpShell.SharpContextMenu;
using SharpShell.Diagnostics;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections.Generic;
@ -136,30 +135,6 @@ namespace DisplayMagician.ShellExtension
}
/*else if (lineToProcess.StartsWith(" \"SavedProfileIconCacheFilename\""))
{
//Logging.Log($"Line starts with 4 spaces and Name");
mc = Regex.Matches(lineToProcess, " \"SavedProfileIconCacheFilename\": \"(.*)\"");
profileIconPath = mc[0].Groups[1].ToString();
if (!String.IsNullOrEmpty(uuid) && !String.IsNullOrEmpty(profileName))
{
ProfileData newProfile = new ProfileData();
newProfile.UUID = uuid;
newProfile.Name = profileName;
if (File.Exists(profileIconPath))
{
Icon myIcon = Icon.ExtractAssociatedIcon(profileIconPath);
newProfile.Bitmap = new Icon(myIcon, 16, 16).ToBitmap();
}
else
newProfile.Bitmap = null;
profiles.Add(newProfile);
}
}*/
}
}