feat: 新增配置中心支持环境变量与 .env 文件配置

This commit is contained in:
WJZ_P
2026-03-15 23:55:03 +08:00
parent b8649e5699
commit 39ec4942ea
5 changed files with 106 additions and 25 deletions

25
.env Normal file
View File

@@ -0,0 +1,25 @@
# ── Gemini Skill 环境变量 / Environment Variables ──
# Chrome / Chromium 可执行文件路径(不设则需手动启动 Chrome
# Path to Chrome/Chromium executable (if not set, you need to start Chrome manually)
CHROME_PATH=
# CDP 远程调试端口
# CDP remote debugging port
CHROME_DEBUG_PORT=
# Chrome 用户数据目录保持登录态、cookies 等)
# Chrome user data directory (persists login session, cookies, etc.)
CHROME_USER_DATA_DIR=
# 是否无头模式true / false
# Headless mode (true / false)
CHROME_HEADLESS=
# CDP 协议超时时间(毫秒)
# CDP protocol timeout (milliseconds)
CHROME_PROTOCOL_TIMEOUT=
# 截图 / 图片输出目录
# Screenshot / image output directory
OUTPUT_DIR=