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.72k stars 121 forks source link

Edge WebView2 installing in every startup ! #307

Closed EryX0 closed 1 year ago

EryX0 commented 1 year ago

Describe the bug every time I want to start the app through TcNo-Acc-Switcher.exe or my account shortcuts, the runtime installer shows up and says that webview2 isn't installed, but I have Edge WebView2 installed, I can confirm by looking at apps and programs, and also registry and also the app being able to open through TcNo-Acc-Switcher_main.exe

I even uninstalled and installed webview2 but no luck, still the version of it is not getting detected by TcNo-Acc-Switcher. tried uninstalling/installing with Evergreen Bootstrapper and Evergreen Standalone but still no luck.

To Reproduce Steps to reproduce the behavior: WebView being installed in HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE ( I guess ) my WebView is located at Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\EdgeUpdate\Clients{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}, so this maybe the reason its not getting detected by your app

Expected behavior WebView2 getting detected no matter where the installation process installs it.

Suggestions : Maybe adding HKEY_CURRENT_USER.... as a source to check for WebView versions too, I don't exactly know.