From bb87ef8217b31f88bc4e53ee652af3ba26361ec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=B9=89=E6=B7=B1?= <9733925+eason_0212@user.noreply.gitee.com> Date: Sat, 18 Mar 2023 04:50:26 +0000 Subject: [PATCH] linux x64 pkg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 宋义深 <9733925+eason_0212@user.noreply.gitee.com> --- pkg_tools/linux-x64-pkg.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pkg_tools/linux-x64-pkg.sh diff --git a/pkg_tools/linux-x64-pkg.sh b/pkg_tools/linux-x64-pkg.sh new file mode 100644 index 0000000..053dd83 --- /dev/null +++ b/pkg_tools/linux-x64-pkg.sh @@ -0,0 +1,12 @@ +curpath=$(cd "$(dirname "$0")"; pwd) +cd ${curpath} +cd ../../ +rm -rf mixio_linux_x64 +mkdir mixio_linux_x64 +chmod -R 777 mixio +cd mixio +npm install +pkg -t node16-linux-x64 package.json +mv -f mixio ../mixio_linux_x64/ +cd ../ +chmod -R 777 mixio_linux_x64