positron
positron copied to clipboard
Statically linked Webview2Loader on Windows
By default, the program on Windows will not run unless we copy over WebView2Loader.dll from /vendor/Microsoft.Web.WebView2.1.0.902.49/build/native/{arch}
into the directory containing the executable.
I think it's much better to statically link the loader (/vendor/Microsoft.Web.WebView2.1.0.902.49/build/native/{arch}/WebView2LoaderStatic.lib
) to produce a single binary which makes it way easier to deploy and distribute. (I tried to link the static library but failed with a libuuid.a missing error)
Is it possible to do so?