This commit is contained in:
RoyceDa
2026-02-18 18:04:25 +02:00
parent 3f239ed82b
commit d55073b7bc
2 changed files with 10 additions and 20 deletions

View File

@@ -1,8 +1,7 @@
#/bin/bash
echo "Using directory: $(pwd)"
current_dir=$(pwd)
# Run npm with a timeout using perl (cross-platform alternative to 'timeout')
perl -e 'alarm shift; $SIG{ALRM}=sub{kill INT => -$$}; exec @ARGV' 10 npm run start
echo "Build complete. Packing service packs..."
APP_VERSION=$(grep -o 'APP_VERSION *= *"[^"]*' "$current_dir/app/version.ts" | sed 's/APP_VERSION *= *"//')