From 9c6c7a82cb997d1853b28a1e98a01afd180fa77f Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Fri, 30 Oct 2020 14:41:59 -0400 Subject: [PATCH] spelling: registry Signed-off-by: Josh Soref --- .../launcher/Plugins/Microsoft.Plugin.Uri/Main.cs | 10 +++++----- .../{RegisteryWrapper.cs => RegistryWrapper.cs} | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) rename src/modules/launcher/Plugins/Microsoft.Plugin.Uri/{RegisteryWrapper.cs => RegistryWrapper.cs} (90%) diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Main.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Main.cs index 35262b2011..0d9aac4552 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Main.cs +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Main.cs @@ -22,7 +22,7 @@ namespace Microsoft.Plugin.Uri private readonly PluginJsonStorage _storage; private bool _disposed; private UriSettings _uriSettings; - private RegisteryWrapper _registeryWrapper; + private RegistryWrapper _registryWrapper; public Main() { @@ -30,7 +30,7 @@ namespace Microsoft.Plugin.Uri _uriSettings = _storage.Load(); _uriParser = new ExtendedUriParser(); _uriResolver = new UriResolver(); - _registeryWrapper = new RegisteryWrapper(); + _registryWrapper = new RegistryWrapper(); } public string BrowserIconPath { get; set; } @@ -109,14 +109,14 @@ namespace Microsoft.Plugin.Uri { try { - var progId = _registeryWrapper.GetRegistryValue("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\Shell\\Associations\\UrlAssociations\\http\\UserChoice", "ProgId"); + var progId = _registryWrapper.GetRegistryValue("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\Shell\\Associations\\UrlAssociations\\http\\UserChoice", "ProgId"); var programLocation = // Resolve App Icon (UWP) - _registeryWrapper.GetRegistryValue("HKEY_CLASSES_ROOT\\" + progId + "\\Application", "ApplicationIcon") + _registryWrapper.GetRegistryValue("HKEY_CLASSES_ROOT\\" + progId + "\\Application", "ApplicationIcon") // Resolves default file association icon (UWP + Normal) - ?? _registeryWrapper.GetRegistryValue("HKEY_CLASSES_ROOT\\" + progId + "\\DefaultIcon", null); + ?? _registryWrapper.GetRegistryValue("HKEY_CLASSES_ROOT\\" + progId + "\\DefaultIcon", null); // "Handles 'Indirect Strings' (UWP programs)" if (programLocation.StartsWith("@", StringComparison.Ordinal)) diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/RegisteryWrapper.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/RegistryWrapper.cs similarity index 90% rename from src/modules/launcher/Plugins/Microsoft.Plugin.Uri/RegisteryWrapper.cs rename to src/modules/launcher/Plugins/Microsoft.Plugin.Uri/RegistryWrapper.cs index 86993799ae..2aad1b5412 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/RegisteryWrapper.cs +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/RegistryWrapper.cs @@ -7,7 +7,7 @@ using Microsoft.Win32; namespace Microsoft.Plugin.Uri { - public class RegisteryWrapper : IRegistryWrapper + public class RegistryWrapper : IRegistryWrapper { public string GetRegistryValue(string registryLocation, string valueName) {