js:自动狗粮重制版 (#1197)

### 1.4.6(2025.06.26)
1.对账户名内置默认项,避免因为default不生效产生报错
This commit is contained in:
mno
2025-06-26 03:26:38 +08:00
committed by GitHub
parent 2e980f4b08
commit d45ff0630e
3 changed files with 8 additions and 4 deletions

View File

@@ -16,7 +16,7 @@
使用即表示您已阅读并同意上述条款。
**Last Updated:** 2025-06-22
**Last Updated:** 2025-06-26
---
@@ -129,6 +129,8 @@
3. 在执行过程中,确保游戏窗口保持在前台,避免干扰。
## 更新日志
### 1.4.62025.06.26
1.对账户名内置默认项避免因为default不生效产生报错
### 1.4.42025.06.24
1.优化几处坐标精确度.
### 1.4.42025.06.23

View File

@@ -44,7 +44,7 @@ const DEFAULT_FIGHT_TIMEOUT_SECONDS = 120;
//处理记录文件路径
// 获取子文件夹路径
const accountName = settings.accountName;
const accountName = settings.accountName || "默认账户";
// Windows文件名非法字符列表
const illegalCharacters = /[\\/:*?"<>|]/;
@@ -490,7 +490,7 @@ async function runArtifactsPaths(runRouteA, grindPartyName, useABE) {
let currentTask = 0; // 当前任务计数器
// 执行准备路线的地图追踪文件
// 执行地图追踪文件
for (const fileName of jsonFilePaths) {
const fullPath = fileName;
await fakeLog(fileName, false, true, 0);
@@ -521,6 +521,8 @@ async function runArtifactsPaths(runRouteA, grindPartyName, useABE) {
// 运行普通路线
await runPathGroups(filePathNormal, "普通");
await genshin.tpToStatueOfTheSeven();
// 运行收尾路线
await runPathGroups(filePathEnding, "收尾");

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "自动狗粮重制版",
"version": "1.4.5",
"version": "1.4.6",
"tags": ["好感", "盗宝团", "愚人众", "鳄鱼", "兽肉", "狗粮"],
"description": "通过不同好感任务卡时间后运行狗粮任务以提高狗粮总收益,需要正确配置好感队伍的战斗策略,并在自定义配置中指定好感和狗粮队伍名称",
"authors": [