diff --git a/ct/zerobyte.sh b/ct/zerobyte.sh index 4b4e9ef9b..c3782abd4 100644 --- a/ct/zerobyte.sh +++ b/ct/zerobyte.sh @@ -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" diff --git a/install/zerobyte-install.sh b/install/zerobyte-install.sh index cb7bdd609..c7699e412 100644 --- a/install/zerobyte-install.sh +++ b/install/zerobyte-install.sh @@ -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"