Create openwrt-arm64-pkg.sh

This commit is contained in:
fredqian
2024-09-28 11:40:05 +08:00
parent 341b4910a6
commit 386b31e7a0

View File

@@ -0,0 +1,12 @@
curpath=$(cd "$(dirname "$0")"; pwd)
cd ${curpath}
cd ../../
rm -rf node18-alpine-arm64
mkdir node18-alpine-arm64
chmod -R 777 mixio
cd mixio
npm install
pkg -t node18-alpine-arm64 package.json
mv -f mixio ../node18-alpine-arm64/
cd ../
chmod -R 777 node18-alpine-arm64