Compare commits

..

2 Commits

Author SHA1 Message Date
MisakaAldrich
b79e21d423 update repo.json
Some checks failed
Build repo.json / build (18.x) (push) Has been cancelled
Build repo.json / upload (push) Has been cancelled
2025-07-21 03:59:11 +00:00
提瓦特钓鱼玳师
1ebf51a334 JS钓鱼:修复了已知问题 (#1375) 2025-07-21 11:58:53 +08:00
3 changed files with 14 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
{ {
"time": "20250720231038", "time": "20250721115910",
"url": "https://github.com/babalae/bettergi-scripts-list/archive/refs/heads/main.zip", "url": "https://github.com/babalae/bettergi-scripts-list/archive/refs/heads/main.zip",
"file": "repo.json", "file": "repo.json",
"indexes": [ "indexes": [
@@ -70355,8 +70355,8 @@
{ {
"name": "AutoFishingTeyvat", "name": "AutoFishingTeyvat",
"type": "directory", "type": "directory",
"hash": "01fe295d7a6911c7d364d4489c5bb4d5ba38d670", "hash": "ad2397065474a5e096b75519fcd49fa0d26c5c74",
"version": "2.2.2", "version": "2.2.3",
"author": "提瓦特钓鱼玳师", "author": "提瓦特钓鱼玳师",
"authors": [ "authors": [
{ {
@@ -70368,7 +70368,7 @@
"tags": [ "tags": [
"bgi≥0.47.0" "bgi≥0.47.0"
], ],
"lastUpdated": "2025-07-18 00:18:30" "lastUpdated": "2025-07-21 11:58:53"
}, },
{ {
"name": "AutoFontaineLeyLine", "name": "AutoFontaineLeyLine",

View File

@@ -196,6 +196,12 @@
let content = {}; let content = {};
if (assets_dir.includes("assets\\archive.json")) { if (assets_dir.includes("assets\\archive.json")) {
content = JSON.parse(file.readTextSync("assets/archive.json")); content = JSON.parse(file.readTextSync("assets/archive.json"));
if (!Object.keys(content).includes(user_id)) {
content[user_id] = {};
}
if (!Object.keys(content[user_id]).includes(pathing_name)) {
content[user_id][pathing_name] = {};
}
if (time_status === "全天") { if (time_status === "全天") {
content[user_id][pathing_name]["Daytime"] = timestamp; content[user_id][pathing_name]["Daytime"] = timestamp;
content[user_id][pathing_name]["Nighttime"] = timestamp; content[user_id][pathing_name]["Nighttime"] = timestamp;
@@ -284,11 +290,11 @@
let regex_area, regex_fish, regex_bait; let regex_area, regex_fish, regex_bait;
// 读取地区 // 读取地区
let path_sort_area = typeof(settings.path_sort_area) === 'undefined' ? [] : settings.path_sort_area.split(' '); let path_sort_area = typeof(settings.path_sort_area) === 'undefined' || settings.path_sort_area === "" ? [] : settings.path_sort_area.split(' ');
// 读取鱼类 // 读取鱼类
let path_sort_fish = typeof(settings.path_sort_fish) === 'undefined' ? [] : settings.path_sort_fish.split(' '); let path_sort_fish = typeof(settings.path_sort_fish) === 'undefined' || settings.path_sort_fish === "" ? [] : settings.path_sort_fish.split(' ');
// 读取鱼饵 // 读取鱼饵
let path_sort_bait = typeof(settings.path_sort_bait) === 'undefined' ? [] : settings.path_sort_bait.split(' '); let path_sort_bait = typeof(settings.path_sort_bait) === 'undefined' || settings.path_sort_bait === "" ? [] : settings.path_sort_bait.split(' ');
// 读取兑换材料 // 读取兑换材料
let path_sort_material = typeof(settings.path_sort_material) === 'undefined' ? "无(默认)" : settings.path_sort_material; let path_sort_material = typeof(settings.path_sort_material) === 'undefined' ? "无(默认)" : settings.path_sort_material;
// 读取调试信息 // 读取调试信息

View File

@@ -1,7 +1,7 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "提瓦特自动钓鱼(全流程+自选)", "name": "提瓦特自动钓鱼(全流程+自选)",
"version": "2.2.2", "version": "2.2.3",
"bgi_version": "0.47.0", "bgi_version": "0.47.0",
"description": "支持自动追踪并垂钓bgi支持的全提瓦特垂钓点", "description": "支持自动追踪并垂钓bgi支持的全提瓦特垂钓点",
"authors": [ "authors": [