fix(maa): 补齐账号切换开关 - #529
Merged
qiyinxi merged 1 commit intoSep 2, 2026
Merged
Conversation
审查者指南(小型 PR 中折叠显示)审查者指南本 PR 针对 MAA v6.14.0-b2 后账号切换由独立开关控制的问题,在自动代理生成启动配置时按官服/B 服账号是否为空同步 MAA 账号切换同步流程图flowchart TD
A[set_maa] --> B{服务器是官服还是 B 服?}
B -- 否 --> C[保留现有账号切换设置]
B -- 是 --> D[读取 StartUp.AccountName]
D --> E{AccountName.strip 为空?}
E -- 是 --> F[AccountSwitchEnabled = false]
E -- 否 --> G[AccountSwitchEnabled = true]
文件级变更
可能关联的问题
提示和命令与 Sourcery 交互
自定义你的使用体验访问你的控制面板以:
获取帮助Original review guide in EnglishReviewer's guide (collapsed on small PRs)Reviewer's Guide本 PR 针对 MAA v6.14.0-b2 后账号切换由独立开关控制的问题,在自动代理生成启动配置时按官服/B 服账号是否为空同步 Flow diagram for MAA account switch synchronizationflowchart TD
A[set_maa] --> B{Server is Official or Bilibili?}
B -- No --> C[Keep existing account switch setting]
B -- Yes --> D[Read StartUp.AccountName]
D --> E{AccountName.strip is empty?}
E -- Yes --> F[AccountSwitchEnabled = false]
E -- No --> G[AccountSwitchEnabled = true]
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
set_maa()冒烟覆盖 5 种场景;pytest tests --collect-only -q收集 364 项。tests/task/test_maa_config_overrides.py有 1 项未改动断言失败;该文件另有既存 I001 import 排序告警。Sourcery 摘要
确保 MAA 账号切换遵循已配置的游戏账号。
Bug 修复:
改进:
文档:
Original summary in English
Summary by Sourcery
Ensure MAA account switching follows the configured game account.
Bug Fixes:
Enhancements:
Documentation: