depthbomb / Scraps

Scrap.TF Raffle Joining Bot
GNU General Public License v3.0
31 stars 7 forks source link

WebView2 #59

Closed Barmem closed 1 year ago

Barmem commented 1 year ago
Failed to initialize WebView2Microsoft.Web.WebView2.Core.WebView2RuntimeNotFoundException: Couldn't find a compatible Webview2 Runtime installation to host WebViews.
 ---> System.IO.FileNotFoundException: Не удается найти указанный файл. (0x80070002)
   --- End of inner exception stack trace ---
   at Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateAsync(String browserExecutableFolder, String userDataFolder, CoreWebView2EnvironmentOptions options)
   at Scraps.Controls.WonRafflesControl.InitializeWebViewAsync() in C:\Users\reese\Documents\Projects\.cs\Scraps\Scraps\Controls\WonRafflesControl.cs:line 56

I think its because i have edge browser broken, program asked to install WebView2 but windows said its already installed

depthbomb commented 1 year ago

Try uninstalling the WebView2 Runtime and start Scraps again.

Barmem commented 1 year ago

изображение says it doesnt exist

depthbomb commented 1 year ago

This issue seems unrelated to Scraps itself and rather with WebView2 or the WebView2 installer. This is not an issue I can address, so I suggest looking into that.