mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 17:59:17 +00:00
Fix WebView2 data path
This commit is contained in:
@@ -39,7 +39,13 @@ namespace QuickLook.Plugin.HtmlViewer
|
||||
}
|
||||
else
|
||||
{
|
||||
_webView = new WebView2();
|
||||
_webView = new WebView2
|
||||
{
|
||||
CreationProperties = new CoreWebView2CreationProperties
|
||||
{
|
||||
UserDataFolder = Path.Combine(App.LocalDataPath, @"WebView2_Data\\")
|
||||
}
|
||||
};
|
||||
_webView.NavigationStarting += NavigationStarting_CancelNavigation;
|
||||
Content = _webView;
|
||||
}
|
||||
|
Reference in New Issue
Block a user