mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Fix URI protocols not unregistering on uninstall
This commit is contained in:
parent
62ba5c83aa
commit
7a858ca08f
@ -441,7 +441,7 @@ namespace Bloxstrap
|
||||
}
|
||||
catch (Exception) { }
|
||||
|
||||
Dialog.ShowSuccess($"{Program.ProjectName} has been uninstalled");
|
||||
Dialog.ShowSuccess($"{Program.ProjectName} has succesfully uninstalled");
|
||||
|
||||
Program.Exit();
|
||||
}
|
||||
|
@ -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) { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user