1
0
mirror of https://github.com/c9fe/22120.git synced 2024-11-05 10:32:37 +01:00
22120/scripts/build_setup.sh

26 lines
465 B
Bash
Raw Normal View History

2021-11-03 05:51:04 +01:00
#!/bin/sh
2021-12-30 18:30:16 +01:00
#echo "Installing nexe and upx..."
echo "Installing pkg..."
2021-11-03 05:51:04 +01:00
mkdir -p bin/
mkdir -p build/
2021-12-28 11:45:07 +01:00
pkg -v || npm i -g pkg
2021-11-03 05:51:04 +01:00
2021-12-30 18:30:16 +01: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 05:51:04 +01:00
2021-12-28 11:45:07 +01:00
# upx packing does not work with pkg
#cd ~/.pkg-cache/v3.2/
#chmod +x *
#upx * || :
2021-11-03 05:51:04 +01:00
echo "Done"