Update openwrt-arm64-pkg.sh

This commit is contained in:
fredqian
2025-12-22 09:58:30 +08:00
parent 21f9d03c89
commit 1b129015e0

View File

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