Skip to content

Statically linked Webview2Loader on WindowsΒ #3

@theseyan

Description

@theseyan

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions