Diskernet/scripts/build_setup.sh

26 lines
465 B
Bash
Raw Normal View History

2021-11-03 04:51:04 +00:00
#!/bin/sh
2021-12-30 17:30:16 +00:00
#echo "Installing nexe and upx..."
echo "Installing pkg..."
2021-11-03 04:51:04 +00:00
mkdir -p bin/
mkdir -p build/
2021-12-28 10:45:07 +00:00
pkg -v || npm i -g pkg
2021-11-03 04:51:04 +00:00
2021-12-30 17:30:16 +00:00
#curl -L -o upx.tar.xz https://github.com/upx/upx/releases/download/v3.96/upx-3.96-amd64_linux.tar.xz
#tar -xJf upx.tar.xz
#rm upx.tar.xz
#sudo cp upx-3.96-amd64_linux/upx /usr/local/bin
#rm -rf upx-3.96-amd64_linux
#./scripts/dl-node.sh
2021-11-03 04:51:04 +00:00
2021-12-28 10:45:07 +00:00
# upx packing does not work with pkg
#cd ~/.pkg-cache/v3.2/
#chmod +x *
#upx * || :
2021-11-03 04:51:04 +00:00
echo "Done"