From 3a8ba96cb35ba5c8a967643fc0856cae8dd9e222 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Fri, 22 Oct 2021 20:43:35 +1100 Subject: [PATCH] [windows] Update webview2 to 91.0.992.28 --- v2/internal/ffenestri/windows/scripts/sdkversion.txt | 2 +- v2/internal/ffenestri/windows/scripts/updatesdk.bat | 2 +- v2/internal/ffenestri/windows/wv2runtime/wv2runtime.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/v2/internal/ffenestri/windows/scripts/sdkversion.txt b/v2/internal/ffenestri/windows/scripts/sdkversion.txt index 123b71efa..e4c251ea5 100644 --- a/v2/internal/ffenestri/windows/scripts/sdkversion.txt +++ b/v2/internal/ffenestri/windows/scripts/sdkversion.txt @@ -1 +1 @@ -The version of WebView2 used: 1.0.864.35 +The version of WebView2 SDK used: 1.0.992.28 diff --git a/v2/internal/ffenestri/windows/scripts/updatesdk.bat b/v2/internal/ffenestri/windows/scripts/updatesdk.bat index b464afc11..780c09128 100644 --- a/v2/internal/ffenestri/windows/scripts/updatesdk.bat +++ b/v2/internal/ffenestri/windows/scripts/updatesdk.bat @@ -7,7 +7,7 @@ set sdk_version=%1 set native_dir="%~dp0\microsoft.web.webview2.%sdk_version%\build\native" copy "%native_dir%\include\*.h" .. >NUL copy "%native_dir%\x64\WebView2Loader.dll" "..\x64" >NUL -@rd /S /Q "microsoft.web.webview2.%sdk_version%" +@REM @rd /S /Q "microsoft.web.webview2.%sdk_version%" del /s version.txt >nul 2>&1 echo The version of WebView2 SDK used: %sdk_version% > sdkversion.txt echo SDK updated to %sdk_version% diff --git a/v2/internal/ffenestri/windows/wv2runtime/wv2runtime.go b/v2/internal/ffenestri/windows/wv2runtime/wv2runtime.go index 7a3943951..7326d54b1 100644 --- a/v2/internal/ffenestri/windows/wv2runtime/wv2runtime.go +++ b/v2/internal/ffenestri/windows/wv2runtime/wv2runtime.go @@ -5,7 +5,7 @@ import ( "github.com/leaanthony/webview2runtime" ) -const MinimumRuntimeVersion string = "91.0.864.48" +const MinimumRuntimeVersion string = "91.0.992.28" type installationStatus int