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

WebviewBrowserPath configuration fails on Windows Server 2016 operating system #4006

Open
wangbaobaoget opened this issue Jan 13, 2025 · 2 comments
Labels
awaiting feedback More information is required from the requestor Bug Something isn't working

Comments

@wangbaobaoget
Copy link

Description

The operation process is as follows:

  1. Download webview2
  2. Configure WebviewBrowserPath as the local webview2 folder
  3. Use the 'wails build' command to package
  4. Running the wails packaged exe on the Windows 11 operating system yielded normal results
  5. Copy the wails packaged exe and webview2 packages together to the Windows Server 2016 operating system (ensure that the path is consistent with that under Windows 11)
  6. Running exe on the Windows Server 2016 operating system did not result in any corresponding issues (the problem of WebviewBrowserPath path configuration errors has been ruled out)

To Reproduce

  1. Download webview2
  2. Configure WebviewBrowserPath as the local webview2 folder
  3. Use the 'wails build' command to package
  4. Running the wails packaged exe on the Windows 11 operating system yielded normal results
  5. Copy the wails packaged exe and webview2 packages together to the Windows Server 2016 operating system (ensure that the path is consistent with that under Windows 11)
  6. Running exe on the Windows Server 2016 operating system did not result in any corresponding issues (the problem of WebviewBrowserPath path configuration errors has been ruled out)

Expected behaviour

WebviewBrowserPath configuration takes effect on Windows Server 2016

Screenshots

No response

Attempted Fixes

No response

System Details

windows server 2016
The WebviewBrowserPath configuration is invalid on Windows Server 2016, and there is no response after executing exe

Additional context

No response

@wangbaobaoget wangbaobaoget added the Bug Something isn't working label Jan 13, 2025
@wangbaobaoget
Copy link
Author

wangbaobaoget commented Jan 13, 2025

And the err returned by 'err:=wails.Run' does not contain any errors

@leaanthony
Copy link
Member

Just to clarify: you did install webview2 on the windows server?

@leaanthony leaanthony added the awaiting feedback More information is required from the requestor label Jan 13, 2025
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 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants