From 2442d5c46d203fbf15cf43fab166822fb7323ec0 Mon Sep 17 00:00:00 2001 From: shanmite Date: Sun, 18 Jul 2021 10:53:10 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=94=AF=E6=8C=81arm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a0b2493bd..d0dac3fba 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "check": "node main.js check", "pkg_x86": "npx pkg . && PowerShell .\\script\\pkg\\pkg.ps1", "pkg_clean_dist": "PowerShell -Command \"& {Remove-Item -Path .\\dist\\ -Recurse}\"", - "pkg_arm": "npx pkg -t linux-arm -o dist/lottery-in-bili-linux-arm main.js" + "pkg_arm64": "npx pkg -t linux-arm64 -o dist/lottery main.js && cp my_config.example.js my_config.js && cp env.example.js dist/env.js", + "pkg_armv7": "npx pkg -t linux-armv7 -o dist/lottery main.js && cp my_config.example.js my_config.js && cp env.example.js dist/env.js" }, "bin": "main.js", "pkg": {