Commit Graph

413 Commits

Author SHA1 Message Date
uye
d2c2989f4e feat: 增加更新数据任务 (#16026)
* feat: 增加更新数据任务

* chore: 仅在立即启动时更新提示

* perf: 只解析一次 json

* feat: 按完成度优先级显示状态

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: typo

* rft: 多taskId支持 part.1

* rft: 多taskId支持 part.2

* rft: 多taskId支持 part.2.5

* rft: 多taskId支持 part.3

* fix: 错误设置标签状态

* feat: 统一命名

* chore: 注释

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2026-03-20 02:10:38 +08:00
uye
ae0a3c4871 feat: 同时启动多个模拟器时使用自动检测连接时提供弹窗选择 (#16020)
feat: 同时启动多个模拟器时使用自动检测连接时提供弹窗选择


https://github.com/user-attachments/assets/0b424e4d-6704-4d63-84dc-64916df6220b

## Summary by Sourcery

添加通用的项目选择对话框,并使用它在自动检测期间处理多个已检测到的模拟器和连接地址。

New Features:
- 引入可复用的项目选择对话框和视图模型,可以显示带有可自定义标题和提示语的项目列表,并返回所选项目。
- 当检测到多个模拟器或多个 ADB 路径时,允许用户选择要连接的模拟器实例。
- 当检测到多个非默认的 ADB 连接地址时,允许用户选择要使用的连接地址。

Bug Fixes:
- 当发现多个候选项时,通过明确要求用户进行选择,防止产生含糊不清或错误的模拟器/ADB 选择。
- 当不存在有效目录时,将已配置路径初始化为空,避免强制使用硬编码的默认模拟器安装路径。
- 确保选择对话框始终在 UI 线程调度器上创建和显示,以避免潜在的线程问题。

Enhancements:
- 优化模拟器检测逻辑,以同时跟踪模拟器名称和解析后的 ADB 路径,对结果去重,并在选择界面中展示这些信息。
- 使用通用项目选择对话框替换特定于模拟器路径的对话框,并简化相关视图模型的职责。
- 通过可在不同选择场景中复用的通用选择与提示字符串,改进本地化支持。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Add generic item selection dialog and use it to handle multiple detected
emulators and connection addresses during auto-detection.

New Features:
- Introduce a reusable item selection dialog and view model that can
display a list of items with customizable title and prompt and return
the selected item.
- Allow users to choose which emulator instance to connect to when
multiple emulators or ADB paths are detected.
- Allow users to choose which connection address to use when multiple
non-default ADB addresses are detected.

Bug Fixes:
- Prevent ambiguous or incorrect emulator/ADB selection by explicitly
requiring a user choice when multiple candidates are found.
- Avoid forcing hard-coded default emulator installation paths by
initializing configured paths as empty when no valid directory exists.
- Ensure selection dialogs are always created and shown on the UI thread
dispatcher to avoid potential threading issues.

Enhancements:
- Refine emulator detection to track both emulator name and resolved ADB
path, deduplicate results, and surface this information in the selection
UI.
- Replace the emulator-path-specific dialog with a generic item
selection dialog and simplify related view model responsibilities.
- Improve localization support with generic selection and prompt strings
that can be reused across different selection scenarios.

</details>
2026-03-19 22:56:50 +08:00
uye
4474384897 feat: 支持雷电14注册表查询 2026-03-19 00:56:55 +08:00
Status102
fa981af0ac perf(wpf): wpf下载框样式遵循是否使用卡片设置 (#16029) 2026-03-19 00:09:50 +08:00
status102
730aea7fa2 fix: 9e846609aa 中的错误 2026-03-18 20:18:43 +08:00
Frog Chen
1a13932f05 feat: AVD截图增强 (#15608)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-18 16:11:58 +08:00
status102
9e846609aa rft(wpf): 添加任务/修改任务设置时返回taskId 2026-03-18 10:55:26 +08:00
status102
2d39d5385c rft: 移除手动触发切换账号时的启动流程逻辑, 统一使用LinkStart 2026-03-17 21:13:58 +08:00
uye
5ce8df552e fix: 勾选手动输入关卡名时无法拖动候选关卡 2026-03-17 03:26:42 +08:00
status102
5574bc69e7 fix(wpf): 刷理智任务不再返回未开放关卡 2026-03-16 14:08:52 +08:00
status102
1bb8b07c6b fix(wpf): 恢复StagePlan后, 修复AsstFightTask的Stage 2026-03-16 13:50:16 +08:00
uye
92eb829e93 fix: 仅在刷源石锭模式下允许触发储备源石锭达到上限时停止 2026-03-14 23:07:13 +08:00
uye
823c4a0241 perf: 优化自动检测连接与每次重新检测连接提示 2026-03-05 21:47:52 +08:00
MistEO
e669b13268 chore: 调整PC端输入选项及描述 2026-03-04 03:06:20 +08:00
status102
b147ab54d9 chore(wpf): ClientType 常量替换 2026-03-03 22:02:59 +08:00
status102
9f597c75cf perf(wpf): scopeLog 记录函数进出时间 2026-03-03 14:44:15 +08:00
status102
2a771f6237 chore(wpf): 剿灭string 常量 2026-03-03 14:44:14 +08:00
status102
6e93de1d6d chore(wpf): 刷理智筛选候选关卡后在日志中记录 2026-03-03 14:44:13 +08:00
Status102
e93d60a25b rft(wpf): 长草任务序列化接口重构拆分 (#15773)
## Summary by Sourcery

将任务序列化逻辑从任务设置视图模型中抽取出来,放入一个专门的序列化接口中,并在每个任务特定的视图模型中通过内部接口实现。

Enhancements:
- 引入 `ITaskQueueModelSerialize` 接口,将任务序列化相关的逻辑与 `TaskSettingsViewModel`
解耦。
- 重构多个任务特定的设置视图模型,通过私有的嵌套 `ISerialize` 接口来实现新的序列化接口。
- 简化或移除未使用的 `using` 指令,并在相关视图模型中进行一些次要的属性格式整理。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Extract task serialization logic from task settings view models into a
dedicated serialization interface implemented via inner interfaces on
each task-specific view model.

Enhancements:
- Introduce the ITaskQueueModelSerialize interface to decouple task
serialization concerns from TaskSettingsViewModel.
- Refactor multiple task-specific settings view models to implement the
new serialization interface via private nested ISerialize interfaces.
- Simplify or remove unused using directives and minor property
formatting cleanups across affected view models.

</details>

增强内容:
- 让 TaskSettingsViewModel 实现新的 ITaskQueueModelSerialize
接口,以将任务序列化相关的关注点从视图模型中分离出来。
- 清理 TaskSettingsViewModel 中未使用的 using 指令,以减少依赖。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

将任务序列化逻辑从任务设置视图模型中抽取出来,放入一个专门的序列化接口中,并在每个任务特定的视图模型中通过内部接口实现。

Enhancements:
- 引入 `ITaskQueueModelSerialize` 接口,将任务序列化相关的逻辑与 `TaskSettingsViewModel`
解耦。
- 重构多个任务特定的设置视图模型,通过私有的嵌套 `ISerialize` 接口来实现新的序列化接口。
- 简化或移除未使用的 `using` 指令,并在相关视图模型中进行一些次要的属性格式整理。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Extract task serialization logic from task settings view models into a
dedicated serialization interface implemented via inner interfaces on
each task-specific view model.

Enhancements:
- Introduce the ITaskQueueModelSerialize interface to decouple task
serialization concerns from TaskSettingsViewModel.
- Refactor multiple task-specific settings view models to implement the
new serialization interface via private nested ISerialize interfaces.
- Simplify or remove unused using directives and minor property
formatting cleanups across affected view models.

</details>

</details>
2026-02-24 01:06:49 +08:00
status102
dd8abf3472 fix(wpf): 肉鸽烧水参数在特定情况未能生效 2026-02-23 20:04:41 +08:00
status102
69157915b5 rft(wpf): 长草任务序列化接口重构拆分 2026-02-23 20:03:45 +08:00
MistEO
bf8e28231d feat: 适配maafw新Win32触控方式 (#15755) 2026-02-20 23:44:50 +08:00
SherkeyXD
a84482374e feat: PC端忽略启动客户端设置 2026-02-19 14:17:04 +08:00
status102
c41716ef5a fix: 刷理智自定义剿灭关卡在特定情况的绑定错误 2026-02-16 17:44:15 +08:00
status102
3316f28f93 fix(wpf): 在禁用刷理智-自定义剿灭关卡后需要手动切换任务以刷新列表中显示的剿灭关卡, 尽管不影响实际运行 2026-02-16 15:58:01 +08:00
status102
1a42d1c1a7 fix: 自动公招任务3~5星确认时间在修改后未能刷新UI 2026-02-14 12:54:57 +08:00
status102
26b91963d9 rft(wpf): 移除不再使用的旧序列化函数 2026-02-10 23:57:52 +08:00
Status102
5740ee11fb rft: 过期关卡使用删除线表示 (#15657)
* rft: 使用`不修改关卡`替代 显式修改为`无效关卡`

* fix: 过滤过期关卡

* feat: 过期关卡增加删除线

* perf: 移除不必要的警告

* perf: 简化过滤

* fix: 无法隐藏关卡, 取消手动输入关卡名后验证关卡名有效性

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2026-02-10 23:50:32 +08:00
status102
9fdf78c109 Revert "fix: 未开放关卡不重置 (#15647)"
This reverts commit 92c6a9c30f.
2026-02-10 20:31:29 +08:00
HY
57c6d2c0b5 feat: 繁中服 界園肉鴿 初步適配 (#15605)
* chore: 先放已知的 json 內容

* chore: 再補一點東西方便後續作業

* chore: 補充截圖

* chore: 調整 GUI 相關內容

* chore: 再改一點啥

* chore: 補完剩餘的截圖 (應該)

* chore: 再改點

* chore: 改啦哪次不改

* chore: 再改 (3/?)

* chore: 替換 Roguelike@StageTraderRefresh.png

* chore: 漏了【安全的角落】的截圖

* chore: 改 (4/?)

* chore: 衡-霧凇 OCR 調整

* chore: 再改 (嗎?)

* chore: 再改 嗚嗚
2026-02-10 19:32:36 +08:00
晓丶梦丶仁
92c6a9c30f fix: 未开放关卡不重置 (#15647)
* fix: 未开放关卡不重置

* fix: 默认值设为不重置
2026-02-10 19:20:32 +08:00
uye
53e59bea59 chore: 调整清理图片缓存样式,增加提示 2026-02-10 00:58:35 +08:00
uye
946b1dfe2e chore: ClearCache 改成 static 2026-02-10 00:54:40 +08:00
uye
e6bbb193ac Revert "perf: 清空缓存移动到界面设置"
This reverts commit 5f784658bb.
2026-02-10 00:54:40 +08:00
SherkeyXD
4ead98cdcb feat: 界园肉鸽可选难度提高至18 2026-02-09 13:43:41 +08:00
status102
78523ba6a8 fix: 无效关卡未能显示i18n文本 2026-02-07 19:55:31 +08:00
status102
5f784658bb perf: 清空缓存移动到界面设置 2026-02-05 15:56:18 +08:00
soundofautumn
c630bdc15a feat: WpfGui清空缓存按钮 (#15582)
* feat: 清空缓存按钮

* feat: 排除asst.log和gui.log

* i18n: EN

* i18n: KR

* i18n: zh-tw

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: HY <45387477+momomochi987@users.noreply.github.com>
2026-02-05 15:36:07 +08:00
status102
ca0cf73d08 fix: 肉鸽烧水分队切换界面后错误重置 2026-02-05 11:21:36 +08:00
Status102
98915da904 feat: 界园肉鸽指定种子开局 (#15588)
* feat: 界园肉鸽指定种子开局

* i18n: 机翻一下

* i18n: KR

* i18n: JP

* perf: 加个格式校验

* perf: input Text前后延迟

---------

Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
2026-02-04 16:14:09 +08:00
status102
466c559831 fix: 刷理智取消勾选下拉框中隐藏非当日关卡后关卡选择框不显示内容 2026-02-03 16:06:50 +08:00
yali-hzy
d30424cef5 chore: 消除部分编译警告 (#15578) 2026-02-02 12:51:12 +08:00
status102
82d059e329 perf: 备选关卡读取后检查 2026-02-02 10:30:29 +08:00
status102
811fc48eb7 fix: 切换刷理智任务时读取到错误的关卡列表 2026-02-02 10:05:43 +08:00
Status102
1879c290ad rft: 关卡候选列表刷新 & 关卡选择下拉列表刷新 (#15562)
* rft: 无效关卡重置

* fix: 显示翻转

* fix: 无效关卡开放状态错误

* fix: 无效关卡被错误重置

* feat: 自定义剿灭关卡将会同步修改关卡选择下拉框中的剿灭模式显示名

* perf: 修改任务参数快速退出

* i18n: invalid stage

* fix: 刷理智任务在LinkStart后修改关卡无法生效

* i18n: KR

* i18n: EN

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* i18n: JP

* i18n: zh-tw

---------

Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
Co-authored-by: momomochi987 <as99us301@gmail.com>
2026-02-01 22:59:30 +08:00
status102
d74ac42c25 perf: use field 2026-01-31 17:32:14 +08:00
status102
fbc14bef58 rft: 提取任务启用状态 2026-01-31 16:07:31 +08:00
status102
83b27b5b44 i18n: 修改当前剿灭的key, 以免与剿灭模式混淆 2026-01-31 16:07:30 +08:00
status102
fb0ee9e7d9 perf: 刷理智任务高级设置UI调整选项顺序 2026-01-30 16:23:02 +08:00
status102
074efb621a fix: 切换刷理智时, 候选掉落物反复添加到下拉列表
仍然存在: 输入文本修改掉落物名称后切换到另一个掉落物为 `未选择` 的刷理智, 会导致切换后掉落物框显示为 ""
2026-01-27 13:14:21 +08:00