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

Add Windows XamlWebView backend #76

Open
matthewbauer opened this issue Aug 10, 2018 · 0 comments
Open

Add Windows XamlWebView backend #76

matthewbauer opened this issue Aug 10, 2018 · 0 comments

Comments

@matthewbauer
Copy link
Contributor

With @angerman's recent work on cross compiling GHC to windows (NixOS/nixpkgs#43559), it will hopefully be possible soon to build for Windows on Nix! If we can get a proper backend for jsaddle ready, this could mean building whole apps for Windows.

Originally I was thinking we can reuse the webkitgtk backend. However, Windows is no longer supported by webkitgtk, apparently (https://github.com/Alexpux/MINGW-packages/issues/3484). Instead, I am thinking it would make sense to go the similar route to WKWebView and reuse the OS SDK as much as possible. Microsoft provides WebView that we can make c bindings to:

https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.webview

I think these are usable in the Mingw based environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant