mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-06 06:45:00 +01:00
Allow --js-runtimes to accept path to binary or directory (#14964)
Fix 6224a38988
Authored by: bashonly
This commit is contained in:
parent
c63b4e2a2b
commit
4b4223b436
3 changed files with 28 additions and 16 deletions
24
README.md
24
README.md
|
|
@ -369,17 +369,19 @@ Tip: Use `CTRL`+`F` (or `Command`+`F`) to search by keywords
|
|||
including defaults and those provided by
|
||||
previous --plugin-dirs
|
||||
--js-runtimes RUNTIME[:PATH] Additional JavaScript runtime to enable,
|
||||
with an optional path to the runtime
|
||||
location. This option can be used multiple
|
||||
times to enable multiple runtimes. Supported
|
||||
runtimes are (in order of priority, from
|
||||
highest to lowest): deno, node, quickjs,
|
||||
bun. Only "deno" is enabled by default. The
|
||||
highest priority runtime that is both
|
||||
enabled and available will be used. In order
|
||||
to use a lower priority runtime when "deno"
|
||||
is available, --no-js-runtimes needs to be
|
||||
passed before enabling other runtimes
|
||||
with an optional location for the runtime
|
||||
(either the path to the binary or its
|
||||
containing directory). This option can be
|
||||
used multiple times to enable multiple
|
||||
runtimes. Supported runtimes are (in order
|
||||
of priority, from highest to lowest): deno,
|
||||
node, quickjs, bun. Only "deno" is enabled
|
||||
by default. The highest priority runtime
|
||||
that is both enabled and available will be
|
||||
used. In order to use a lower priority
|
||||
runtime when "deno" is available, --no-js-
|
||||
runtimes needs to be passed before enabling
|
||||
other runtimes
|
||||
--no-js-runtimes Clear JavaScript runtimes to enable,
|
||||
including defaults and those provided by
|
||||
previous --js-runtimes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue