build(deploy): 更新游戏配置文件

- 在打包脚本中添加 gameEui.json 文件
- 确保 gameEui.json 被正确打包到输出的 zip 文件中
This commit is contained in:
aixianling
2025-01-23 11:59:42 +08:00
parent b6ad89a12c
commit 73aad793dd

View File

@@ -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);
})