You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
webkit2gtk (to install using apt:
sudo apt-get install libwebkit2gtk-4.0-dev)
Building
Make sure to init the webview submodule with:
$ git submodule update --init --recursive
Building on Windows requires admin privileges.
$ deno task build
Running
To run webview_deno without automatically downloading the binaries from
releases you will need to
use the environment variable PLUGIN_URL and set it to the path where the built
binaries are located. This is usually file://./target/release.
$ deno task build
$ PLUGIN_URL=./build/
$ deno run --unstable -A examples/local.ts
or
$ deno task run examples/local.ts
or if you have the webview library already built and didn't make any changes to
it, you can skip the building step with:
$ deno task run:fast examples/local.ts
Environment variables
PLUGIN_URL - Set a custom library URL. Defaults to the latest release assets
on Github. Setting this also disables cache for plug.
Pull request, issues and feedback are very welcome. Code style is formatted with
deno task fmt, linted with deno task lint and commit messages are done
following Conventional Commits
spec.
Licence
Copyright 2020-2022, the webview_deno team. All rights reserved. MIT license.
About
🌐 Deno bindings for webview, a tiny library for creating web-based desktop GUIs