restore-pkg

This commit is contained in:
unknown
2024-11-04 10:19:35 +08:00
parent d4d9911b5d
commit c8b52717d0
5 changed files with 60 additions and 0 deletions

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