Skip to content

Commit

Permalink
Add deno reference (#57)
Browse files Browse the repository at this point in the history
* Add deno reference

* Link to examples
  • Loading branch information
zephraph authored Sep 25, 2024
1 parent f4a8bf0 commit 54d208d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @justbe/webview

A light, cross-platform library for building web-based desktop apps.
A light, cross-platform library for building web-based desktop apps with [Deno](https://deno.com/).

> [!NOTE]
> This is alpha level software that's rapidly changing. Things might break. Please let me know if you notice anything missing or not working.
Expand All @@ -24,6 +24,14 @@ webview.on("started", async () => {
await webview.waitUntilClosed();
```

You can run this yourself with

```sh
deno run https://raw.githubusercontent.com/zephraph/webview/refs/heads/main/examples/simple.ts
```

Checkout the [examples directory](https://github.com/zephraph/webview/tree/main/examples) for more.

## Permissions

When executing this package, it checks to see if you have the required binary for interfacing with the OS's webview. If it doesn't exist, it downloads it to a cache directory and executes it. This yields a few different permission code paths to be aware of.
Expand Down

0 comments on commit 54d208d

Please sign in to comment.