mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-04 12:34:29 +01:00
fix(zerobyte): build the bundled local agent (#18363)
This commit is contained in:
@@ -53,6 +53,7 @@ function update_script() {
|
||||
cd /opt/zerobyte
|
||||
$STD bun install
|
||||
$STD node ./node_modules/vite/bin/vite.js build
|
||||
$STD bun build apps/agent/src/index.ts --outfile .output/agent/index.mjs --target bun
|
||||
msg_ok "Built Zerobyte"
|
||||
|
||||
msg_info "Starting Service"
|
||||
|
||||
@@ -53,6 +53,7 @@ export VITE_SHOUTRRR_VERSION=$(cat ~/.shoutrrr)
|
||||
export NODE_OPTIONS="--max-old-space-size=3072"
|
||||
$STD bun install
|
||||
$STD node ./node_modules/vite/bin/vite.js build
|
||||
$STD bun build apps/agent/src/index.ts --outfile .output/agent/index.mjs --target bun
|
||||
msg_ok "Built Zerobyte"
|
||||
|
||||
msg_info "Configuring Zerobyte"
|
||||
|
||||
Reference in New Issue
Block a user