1
0
mirror of https://github.com/c9fe/22120.git synced 2024-11-05 18:42:33 +01:00
22120/scripts/build_setup.sh
Cris Stringfellow 8634c96ce9 "Structure"
2021-12-25 17:05:17 +08:00

20 lines
334 B
Bash
Executable File

#!/bin/sh
echo "Installing nexe and upx..."
npm i -g nexe
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
./dl-node.sh
cd ~/.nexe/
chmod +x *
upx * || :
echo "Done"