From e0f797c1cd15a81b65e474296408995c976c7506 Mon Sep 17 00:00:00 2001 From: Terry MacDonald Date: Wed, 9 Dec 2020 21:44:44 +1300 Subject: [PATCH] Cleaning out Desktop Shell extension --- .../DisplayMagicianDesktopMenuExtension.cs | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/DisplayMagician.ShellExtension/DisplayMagicianDesktopMenuExtension.cs b/DisplayMagician.ShellExtension/DisplayMagicianDesktopMenuExtension.cs index a766999..a3ad592 100644 --- a/DisplayMagician.ShellExtension/DisplayMagicianDesktopMenuExtension.cs +++ b/DisplayMagician.ShellExtension/DisplayMagicianDesktopMenuExtension.cs @@ -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); - } - - }*/ - } }