TCNOco / TcNo-Acc-Switcher

A Super-fast account switcher for Steam, Battle.net, Epic Games, Origin, Riot, Ubisoft and many others!
GNU General Public License v3.0
1.8k stars 119 forks source link

Always asking for an older version of Microsoft WebView2 Runtime #442

Open Spokkis opened 1 week ago

Spokkis commented 1 week ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce For me it started each time I'm starting the account switcher after Edge updated to: Version 131.0.2903.48 (Official build) (64-bit).

Expected behavior A clear and concise description of what you expected to happen, if not already obvious.

Screenshots {32F8C85B-A09D-4500-B823-4121E8E6E7C7}

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

marcmy commented 1 week ago

same here, issue since the latest version of webview got installed

edit: tried switching to CEF but it still does it. edit2: got it working with CEF, just had to make sure it was not running in task manager and then ran the _main.exe, temporary workaround i guess

Spokkis commented 1 week ago

same here, issue since the latest version of webview got installed

edit: tried switching to CEF but it still does it.

edit2: got it working with CEF, just had to make sure it was not running in task manager and then ran the _main.exe, temporary workaround i guess

Thanks, will try this as a temporary workaround myself!

S0NN1 commented 1 week ago

Adding some details that might be useful: Microsoft Windows 11 Education 10.0.22631 22631 TcNo-Acc-Switcher 2024-08-30_01 Edge 131.0.2903.51

Funny enough ( I don't know since when) web to view is not listed as a separate runtime as shown below

image

Although I manually installed through the package under https://developer.microsoft.com/en-us/microsoft-edge/webview2?form=MA13LH#download but it is indeed in the right folder C:\Program Files (x86)\Microsoft\EdgeWebView\Application

image

My guess is that the program fails for the same reason although winget for example is able to list it correctly:

>winget list --name Web
Name                        Id                                                                             Version        Source
----------------------------------------------------------------------------------------------------------------------------------
obs-websocket version 5.0.1 ARP\Machine\X86\{117EE44F-48E1-49E5-A381-CC8D9195CF35}_is1                     5.0.1
WebStorm                    ARP\User\X64\JetBrains Toolbox (WebStorm) db215e5e-1fff-4e4c-98a5-8feca8f629c6 2024.3
Web Media Extensions        9N5TDP8VCMHS                                                                   1.1.1295.0     msstore
Webp Image Extensions       MSIX\Microsoft.WebpImageExtension_1.1.1711.0_x64__8wekyb3d8bbwe                1.1.1711.0
Windows Web Experience Pack MSIX\MicrosoftWindows.Client.WebExperience_524.28801.70.0_x64__cw5n1h2txyewy   524.28801.70.0
Microsoft Edge              Microsoft.EdgeWebView2Runtime                                                  131.0.2903.51  winget

EDIT: Looking at the source code I saw it checks for the reg keys, although looking at my installation I didn't find an entry for Web2View

EDIT 2: Looking at this comment https://github.com/MicrosoftEdge/WebView2Feedback/issues/2019#issuecomment-1138319113 it seems that the two folders used by TcNo to detect Edge2View reg keys are not valid. Moreover I see the reg key for the runtime on both folders mentioned in the comment above. @TCNOco could you please check, we might need to update the find_installed_net_runtimes to cover such case...

marcmy commented 6 days ago

So my Win11 just (finally) got the 24H2 update and oddly enough it seems to have fixed this issue for me. PC also seems a bit snappier but that could just be placebo. Just an fyi in case anyone's holding back on it.

Spokkis commented 6 days ago

So my Win11 just (finally) got the 24H2 update and oddly enough it seems to have fixed this issue for me. PC also seems a bit snappier but that could just be placebo. Just an fyi in case anyone's holding back on it.

I am running Win11 24H2 as well. Strangely enough I seem to primarily have the issue on my desktop, laptop is working as normal.