From 97adc978557142bcec1b41096cc4b245c115aa30 Mon Sep 17 00:00:00 2001
From: unanmed <1319491857@qq.com>
Date: Thu, 27 Apr 2023 22:10:04 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=A9=E7=95=A5=E5=9B=BE?=
=?UTF-8?q?=E9=9B=86=E6=89=93=E5=8C=85=E6=9C=BA=E5=88=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 4 ++--
script/build.ts | 2 +-
src/data/desc.json | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package.json b/package.json
index d90831e..4b2b9c0 100644
--- a/package.json
+++ b/package.json
@@ -6,8 +6,8 @@
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build && ts-node-esm script/build.ts",
- "build-gh": "vue-tsc && vite build --base=/HumanBreak/ && ts-node-esm script/build.ts",
- "build-local": "vue-tsc && vite build --base=/ && ts-node-esm script/build.ts",
+ "build-gh": "vue-tsc && vite build --base=/HumanBreak/ && ts-node-esm script/build.ts 1",
+ "build-local": "vue-tsc && vite build --base=/ && ts-node-esm script/build.ts 1",
"preview": "vite preview",
"preview-node": "cd dist && node server.cjs",
"update": "ts-node-esm script/update.ts",
diff --git a/script/build.ts b/script/build.ts
index 51fd96f..6f1e8a8 100644
--- a/script/build.ts
+++ b/script/build.ts
@@ -39,7 +39,7 @@ import * as rollup from 'rollup';
});
})
);
- await fse.remove('./dist/maps/');
+ if (process.argv[2] !== '1') await fse.remove('./dist/maps/');
// 在线查看什么都看不到,这编辑器难道还需要留着吗?
await fse.remove('./dist/_server');
await fse.remove('./dist/editor.html');
diff --git a/src/data/desc.json b/src/data/desc.json
index c113a16..6fbe0bf 100644
--- a/src/data/desc.json
+++ b/src/data/desc.json
@@ -387,7 +387,7 @@
"
",
"
",
"本塔的楼层传送器是一个集分区、小地图、楼层传送、浏览地图于一体的多功能楼传。",
- "你也可以点击这里查看所有区域的缩略图。",
+ "你也可以点击这里查看所有区域的缩略图。",
"下面是楼传的具体说明:",
"
",
"
",