Files
abot/plugins/sehuatang_push/config.toml
liuwei a8070a7214 支持复用色花堂常驻浏览器会话
- 为 sehuatang_push 增加远程调试端口附着能力,优先复用常驻 Chrome 浏览器\n- 区分外部浏览器与自管理浏览器,避免任务结束时误关闭用户正在使用的浏览器\n- 从插件配置和任务 payload 读取浏览器复用参数,并补充 browser 配置项说明
2026-04-27 15:41:36 +08:00

26 lines
941 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 色花堂推送插件默认配置
# 说明:
# 1. 补齐默认配置文件,避免启动日志中出现“配置文件不存在”提示。
# 2. 插件运行时可从任务 payload 读取参数,此处提供统一默认值作为兜底。
[general]
# 是否启用插件true 启用false 禁用
enabled = true
[push]
# 默认 @ 的用户名(可在后台任务 payload 中覆盖)
at_user = "Jyunere"
[browser]
# 是否优先复用已经长期在线的 Chrome 浏览器。
# 复用模式要求该浏览器启动时带上 --remote-debugging-port=9222 这类参数。
reuse_existing_browser = true
# 常驻浏览器暴露出来的远程调试地址。
debugger_host = "127.0.0.1"
debugger_port = 9222
# 当常驻浏览器不可用时,是否允许插件回退到“自己启动一个临时浏览器”的旧模式。
# 如果你明确不希望插件再自己管理浏览器,可以改成 false。
allow_launch_fallback = true