一些比较旧的安全软件会随WebView2一起加载,导致报错“兼容性问题”,如下图所示:
解决办法:修改注册表
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"RendererCodeIntegrityEnabled"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\WebView2]
"RendererCodeIntegrityEnabled"=dword:00000000
或使用此动作:
https://getquicker.net/Sharedaction?code=c2789d03-59ee-4809-c411-08dab56ea181