Revert "WebView2 bugfix"

This reverts commit a71f8e5606.

it was not supposed to do that :( whyyyyyyyyy
This commit is contained in:
pizzaboxer 2023-06-13 08:13:40 +01:00
parent a71f8e5606
commit 59bda907d3
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8

View File

@ -843,7 +843,7 @@ namespace Bloxstrap
// https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#detect-if-a-suitable-webview2-runtime-is-already-installed
using RegistryKey? hklmKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\\WOW6432Node\\Microsoft\\EdgeUpdate\\Clients\\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}");
using RegistryKey? hkcuKey = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\EdgeUpdate\\Clients\\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}");
using RegistryKey? hkcuKey = Registry.LocalMachine.OpenSubKey("Software\\Microsoft\\EdgeUpdate\\Clients\\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}");
if (hklmKey is not null || hkcuKey is not null)
return;