From 73aad793dde1bb789dfc3a2d59d3096fe3afde1c Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 23 Jan 2025 11:59:42 +0800 Subject: [PATCH] =?UTF-8?q?build(deploy):=20=E6=9B=B4=E6=96=B0=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在打包脚本中添加 gameEui.json 文件 - 确保 gameEui.json 被正确打包到输出的 zip 文件中 --- deploy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.js b/deploy.js index c3b5716..79e6ac3 100644 --- a/deploy.js +++ b/deploy.js @@ -4,7 +4,7 @@ const zip = require("./zip.js") const start = () => { zip.start().then(() => { const tar = new JSZip(); - ['config.xml', 'api.php', 'linuxdo.php','login.php'].forEach(e => { + ['config.xml', 'api.php', 'linuxdo.php','login.php','gameEui.json'].forEach(e => { const file = fs.readFileSync(e) tar.file(e, file); })