diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index 1d01ce6..8375281 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -441,7 +441,7 @@ namespace Bloxstrap } catch (Exception) { } - Dialog.ShowSuccess($"{Program.ProjectName} has been uninstalled"); + Dialog.ShowSuccess($"{Program.ProjectName} has succesfully uninstalled"); Program.Exit(); } diff --git a/Bloxstrap/Helpers/Protocol.cs b/Bloxstrap/Helpers/Protocol.cs index c94e1e0..dc369b7 100644 --- a/Bloxstrap/Helpers/Protocol.cs +++ b/Bloxstrap/Helpers/Protocol.cs @@ -1,4 +1,5 @@ -using System.Text; +using System.Diagnostics; +using System.Text; using System.Web; using Microsoft.Win32; @@ -97,9 +98,12 @@ namespace Bloxstrap.Helpers { try { - Registry.CurrentUser.DeleteSubKey($@"Software\Classes\{key}"); + Registry.CurrentUser.DeleteSubKeyTree($@"Software\Classes\{key}"); + } + catch (Exception e) + { + Debug.WriteLine($"Failed to unregister {key}: {e}"); } - catch (Exception) { } } } }