Files
oneuptime/InfrastructureAgent/Scripts/Build/Linux.sh
2024-03-12 13:24:16 +00:00

8 lines
334 B
Bash

# This is taken from: https://nodejs.org/api/single-executable-applications.html
npm run compile
node --experimental-sea-config sea-config.json
cp $(command -v node) InfrastructureAgent
npm i postject -g
npx postject InfrastructureAgent NODE_SEA_BLOB sea-prep.blob \
--sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2