js:狗粮批发1.6.0 (#2512)

This commit is contained in:
mno authored and GitHub committed 2025-12-16 22:13:03 +08:00
1 parent 764074eb37
commit 77fe1f640e
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -1112,10 +1112,10 @@ async function parsePathing(pathFilePath) {
return { ok: false };
}
// map_name 不存在时兜底为 "Teyvat"
// 从 info.map_name 读取,不存在时兜底为 "Teyvat"
const map_name =
typeof json.map_name === 'string' && json.map_name.trim() !== ''
? json.map_name
typeof json.info?.map_name === 'string' && json.info.map_name.trim() !== ''
? json.info.map_name
: 'Teyvat';
// 从后往前找第一个 type !== "orientation" 的点
@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "AAA狗粮批发",
"version": "1.5.4",
"version": "1.6.0",
"tags": [
"狗粮"
],