mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-08 15:12:13 +02:00
rm useless comments
This commit is contained in:
@@ -211,19 +211,10 @@ EOF
|
||||
[[ -f "$INSTALL_DIR"/start.sh ]] && mv "$INSTALL_DIR"/start.sh "$APP_DIR"/bin
|
||||
|
||||
# plugins
|
||||
# Build the plugin(s) directly instead of via the `mise //:plugins` monorepo task path,
|
||||
# which repeatedly breaks across mise releases (experimental/monorepo_root setting churn).
|
||||
# mise is used only to provide the build tools (extism-js, wasm-opt, etc.) via `mise install`
|
||||
# and `mise exec`, both of which are stable and do not depend on the monorepo feature.
|
||||
cd "$SRC_DIR"
|
||||
export MISE_TRUSTED_CONFIG_PATHS="$SRC_DIR"/mise.toml
|
||||
export MISE_DISABLE_TOOLS=github:jellyfin/jellyfin-ffmpeg
|
||||
$STD mise install
|
||||
# extism-js (the JS PDK compiler used by plugin-core's `build:wasm`) is provided by the
|
||||
# `github:extism/js-pdk` mise tool, but mise's github backend does not reliably expose it on
|
||||
# PATH for nested pnpm build scripts. The `@extism/js-pdk` npm package is only type defs and
|
||||
# ships no binary. Guarantee availability by fetching the pinned release binary directly if it
|
||||
# is not already resolvable.
|
||||
export PATH="$(mise bin-paths 2>/dev/null | tr '\n' ':')$PATH"
|
||||
if ! command -v extism-js >/dev/null 2>&1; then
|
||||
# extism-js is published as a bare gzip-compressed single binary (.gz), which
|
||||
|
||||
Reference in New Issue
Block a user