mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Cleaning out Desktop Shell extension
This commit is contained in:
parent
33b3520a10
commit
e0f797c1cd
@ -5,7 +5,6 @@ using System.IO;
|
|||||||
using System;
|
using System;
|
||||||
using SharpShell.Attributes;
|
using SharpShell.Attributes;
|
||||||
using SharpShell.SharpContextMenu;
|
using SharpShell.SharpContextMenu;
|
||||||
using SharpShell.Diagnostics;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Collections.Generic;
|
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);
|
|
||||||
}
|
|
||||||
|
|
||||||
}*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user