by cookiengineer · 3y ago · 0 comments
- Golang server
- Use go:embed to embed the public folder of the frontend
- Open a webview pointing to localhost:ephermal port
Easy as pie, and less than a couple of kilobytes overhead.
I know that you can also compile the webview.cc into a dll specifically, and link against that. But I'd never done with Visual C++ because I am cross-compiling from Linux to Windows.
The README of the webview/webview project refers to the WebView2 SDK on NuGet, however [1]