Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows下无法执行或执行报错相关问题合集 #226

Open
TideSec opened this issue Dec 23, 2024 · 2 comments
Open

Windows下无法执行或执行报错相关问题合集 #226

TideSec opened this issue Dec 23, 2024 · 2 comments
Assignees
Labels
建议 Good for newcomers 重要

Comments

@TideSec
Copy link
Owner

TideSec commented Dec 23, 2024

Windows环境下执行TscanPlus依赖WebView2环境

1、系统缺少WebView2环境

Wails打包的程序在Windows上运行时依赖 Microsoft WebView2

默认情况下Windows11和win2012会安装,但有些旧机器(如Win2k8)不会,如机器没有webview2环境,程序会引导下载安装webview2。

可自行手动下载:https://developer.microsoft.com/zh-cn/microsoft-edge/webview2/?form=MA13LH#download

2、安装了WebView2但执行报错

如果执行后遇到报错The WebView2 process crashed and the application needs to be restarted.

此时需要卸载本机webview2后重新安装:https://developer.microsoft.com/zh-cn/microsoft-edge/webview2/?form=MA13LH#download

3、webview2无法卸载重装

如果webview2无法卸载,这时需要借助一个小工具【Windows11轻松设置】

借助该工具可对webview2进行彻底卸载,之后再重新安装即可。

4、重装后仍无法打开的情况

如果在webview2重装后仍无法打开,没有任何提示,可能是webview2和某些特定版本的windows系统再加上wails的go-webview2库融合导致的Bug,为此,在这里专门打包了一个针对webview2问题的改进版,可以尝试一下。

@TideSec TideSec added 增强 New feature or request 重要 labels Dec 23, 2024
@TideSec TideSec self-assigned this Dec 23, 2024
@TideSec TideSec added 建议 Good for newcomers and removed 增强 New feature or request labels Dec 23, 2024
@TideSec TideSec pinned this issue Dec 23, 2024
@TideSec TideSec changed the title Windows环境下无法执行或执行报错相关问题合集 Windows环境无法执行或执行报错相关问题合集 Dec 23, 2024
@TideSec TideSec changed the title Windows环境无法执行或执行报错相关问题合集 Windows下无法执行或执行报错相关问题合集 Dec 23, 2024
@1322630531
Copy link

重装之后不行,TscanPlus_Win_Amd64_v2.6.6-webview2 这个版本可以用

@TideSec
Copy link
Owner Author

TideSec commented Dec 24, 2024

重装之后不行,TscanPlus_Win_Amd64_v2.6.6-webview2 这个版本可以用

好的,感谢反馈~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
建议 Good for newcomers 重要
Projects
None yet
Development

No branches or pull requests

2 participants