jspuij / TwokaB

Blazor WebView control for WPF, Android, macOS, iOS. Run Blazor on .NET Core and Mono natively inside a Webview.
https://jspuij.github.io/BlazorWebView.Docs/pages/index.html
Apache License 2.0
132 stars 16 forks source link

Setting UserdataFolder? (<programname>.WebView2) #15

Closed garrynewman closed 4 years ago

garrynewman commented 4 years ago

Is it possible to change the location of this folder? Are there any settings you could expose internally?

jspuij commented 4 years ago

I could expose them. The c++ part calls createcorewebview2environmentwithoptions, where you can specify the folders. It's not too difficult to expose them. Can you wait until the next release (it will coincide probably with the final version of Blazor webassembly)?

garrynewman commented 4 years ago

That would be useful - yeah can definitely wait - thank you <3