Skip to content

Commit

Permalink
fix: use version from deno.json
Browse files Browse the repository at this point in the history
  • Loading branch information
eliassjogreen committed Mar 3, 2024
1 parent c3f67b8 commit 0170174
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ffi.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { version } from "../deno.json" with { type: "json" };

import { dlopen, download } from "@denosaurs/plug";
import { Webview } from "./webview.ts";

const version = "0.7.3";

const cache = Deno.env.get("PLUGIN_URL") === undefined ? "use" : "reloadAll";
const url = Deno.env.get("PLUGIN_URL") ??
`https://github.com/webview/webview_deno/releases/download/${version}/`;
Expand Down

0 comments on commit 0170174

Please sign in to comment.