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

> windows11 专业版 22621.1413 编译的exe无法正常运行 #2615

Closed
ziveni opened this issue Apr 20, 2023 · 15 comments
Closed

> windows11 专业版 22621.1413 编译的exe无法正常运行 #2615

ziveni opened this issue Apr 20, 2023 · 15 comments
Labels
awaiting feedback More information is required from the requestor

Comments

@ziveni
Copy link

ziveni commented Apr 20, 2023

          > windows11 专业版 22621.1413 编译的exe无法正常运行

Just to make sure, did you test the old WebView2Loader by using -tags native_webview2loader?

Originally posted by @stffabi in #2004 (comment)

image

@stffabi
Copy link
Collaborator

stffabi commented Apr 20, 2023

Could you try to compile the app with --debug and provide us with the console output and also take a look into the webinspector what you are seeing there?

@ziveni
Copy link
Author

ziveni commented Apr 20, 2023

您能否尝试编译应用程序并为我们提供控制台输出,并查看您在那里看到的内容?--debug``webinspector

image
nothing!

@stffabi
Copy link
Collaborator

stffabi commented Apr 20, 2023

What do you see in the inspector? Right click on the window and select Inspect. Then the console tab and network tab is interesting.

@ziveni
Copy link
Author

ziveni commented Apr 20, 2023

I have right-clicked on the window, but nothing is displayed.

@ziveni
Copy link
Author

ziveni commented Apr 20, 2023

What do you see in the inspector? Right click on the window and select Inspect. Then the console tab and network tab is interesting.

"I think there might be an issue with my computer, but I haven't figured out where the problem is yet."

@stffabi
Copy link
Collaborator

stffabi commented Apr 20, 2023

Maybe you find something in the Windows Event-Viewer.

@stffabi
Copy link
Collaborator

stffabi commented Apr 26, 2023

This might be interesting for you: #2621
Especially this patch: #2621 (reply in thread)

@stffabi
Copy link
Collaborator

stffabi commented Apr 27, 2023

Could you please try PR #2627, it should help in your case.

@stffabi stffabi added the awaiting feedback More information is required from the requestor label Apr 27, 2023
@stffabi
Copy link
Collaborator

stffabi commented May 11, 2023

I'm going to close this, we believe it should be fixed with the linked PR. Please feel free to reopen if you see any further issues.

@stffabi stffabi closed this as completed May 11, 2023
@ziveni
Copy link
Author

ziveni commented May 14, 2023

I'm going to close this, we believe it should be fixed with the linked PR. Please feel free to reopen if you see any further issues.
WebVie2wProcess failed with kind 1
Unknown message from front end: runtime:ready

I got the following error when running wails dev. I'm not sure if it's related to the desktop not showing up.

@StormYudi
Copy link

Same problem here.
WebVie2wProcess failed with kind 1

image image

@StormYudi
Copy link

build

这里同样的问题。 WebVie2wProcess 失败,类型 1

图像 图像

build from macos aarch64, wails v2.5.1, cross build for amd64 windows.

@StormYudi
Copy link

image

using -tags native_webview2loader getting same result.

@leaanthony
Copy link
Member

Please open a new ticket and provide everything it asks. Thanks 🙏

@stffabi
Copy link
Collaborator

stffabi commented Jul 10, 2023

@StormYudi please take a look into the event-viewer. I suspect you are running into the same code-integrity problem, where a custom DLL injects itself into the webview2 process, which is detected by Microsoft and prevented by a crash of the webview.

You could try to use the flag to disable code-integrity checks of webview2 and check if that helps:

// WebviewDisableRendererCodeIntegrity disables the `RendererCodeIntegrity` of WebView2. Some Security Endpoint
// Protection Software inject themself into the WebView2 with unsigned or wrongly signed dlls, which is not allowed
// and will stop the WebView2 processes. Those security software need an update to fix this issue or one can disable
// the integrity check with this flag.
//
// The event viewer log contains `Code Integrity Errors` like mentioned here: https://github.com/MicrosoftEdge/WebView2Feedback/issues/2051
//
// !! Please keep in mind when disabling this feature, this also allows malicious software to inject into the WebView2 !!
WebviewDisableRendererCodeIntegrity bool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting feedback More information is required from the requestor
Projects
None yet
Development

No branches or pull requests

4 participants