Skip to content

Commit

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

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

const version = manifest.version;
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 fa89f01

Please sign in to comment.