fix: persist execution.dryrun setting and add headless mode option for User

- Add EXECUTION_DRYRUN to save_to_env() to fix dryrun setting not persisting
  after restart
- Add headless mode checkbox in User mode settings for browser visibility control

Co-Authored-By: Claude (glm-5) <noreply@anthropic.com>
This commit is contained in:
Misaka_Company
2026-02-27 16:04:17 +08:00
parent 2d485be0ac
commit a37cf4ad91
2 changed files with 22 additions and 2 deletions

View File

@@ -162,6 +162,8 @@ class ConfigLoader:
"VALIDATION_ENABLE_CRUD": config.validation.enable_crud_operations,
"VALIDATION_DEFAULT_MANAGER": config.validation.default_manager,
"VALIDATION_MATCH_MODE": config.validation.match_mode,
# 执行配置
"EXECUTION_DRYRUN": config.execution.dryrun,
}
return save_env_file(env_file, env_dict)