From d2eabbe21f51371e3590ddac87dbc99b7d367ec4 Mon Sep 17 00:00:00 2001 From: Dinesh Solanki <15937452+dineshsolanki@users.noreply.github.com> Date: Mon, 19 Feb 2024 09:46:11 +0530 Subject: [PATCH] Update method for checking WebView2 runtime availability for fixing ambiguity issue in a new version --- FoliCon/Modules/utils/ProcessUtils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FoliCon/Modules/utils/ProcessUtils.cs b/FoliCon/Modules/utils/ProcessUtils.cs index b5bb64f..6022867 100644 --- a/FoliCon/Modules/utils/ProcessUtils.cs +++ b/FoliCon/Modules/utils/ProcessUtils.cs @@ -38,7 +38,7 @@ public static void CheckWebView2() try { Logger.Info("Checking WebView2 Runtime availability"); - var availableBrowserVersionString = CoreWebView2Environment.GetAvailableBrowserVersionString(); + var availableBrowserVersionString = CoreWebView2Environment.GetAvailableBrowserVersionString(string.Empty); Logger.Info($"WebView2 Runtime version {availableBrowserVersionString} is available"); } catch (WebView2RuntimeNotFoundException exception)