Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename env PLUGIN_URL #145

Open
milahu opened this issue Oct 13, 2022 · 0 comments
Open

rename env PLUGIN_URL #145

milahu opened this issue Oct 13, 2022 · 0 comments

Comments

@milahu
Copy link

milahu commented Oct 13, 2022

the env name should be more absolute than PLUGIN_URL

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}/`;

this env holds the folder of libwebview.so so rename to ...

WEBVIEW_DENO_LIBWEBVIEW?
WEBVIEW_DENO_LIB?
DENO_LIBWEBVIEW?
DENO_WEBVIEW_LIB?

also its not an (optional) "plugin" but an essential dependency

fix merged in https://github.com/milahu/webview_deno

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant