Fix WebView2 data path

This commit is contained in:
Paddy Xu
2021-01-10 17:18:43 +01:00
parent 14394eb1ce
commit 6a0c116bd4
3 changed files with 8 additions and 4 deletions

View File

@@ -19,7 +19,6 @@ using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Threading;
using Microsoft.Web.WebView2.Wpf;
using QuickLook.Common.Plugin;
namespace QuickLook.Plugin.HtmlViewer
@@ -35,8 +34,6 @@ namespace QuickLook.Plugin.HtmlViewer
public void Init()
{
if (Helper.IsWebView2Available())
new WebView2().EnsureCoreWebView2Async();
}
public bool CanHandle(string path)