Skip to content

rename env PLUGIN_URL #145

Open
Open
@milahu

Description

@milahu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions