Files
37duAutomation/desktop/electron-shell/.env.example
T
puddy 89a7ad966a docs: 同步项目结构与桌面端文档,清理根目录临时产物
README / docs/README 更新目录结构;docs/桌面端/客户端产品化差距分析 复核;XQ0034 需求单各文档同步字段改名与期限复算;electron-shell README/.env.example 补 SDK 下发、SHELL_SDK_ROOT/SHELL_PLUGIN_ROOT、1.10.10 打包与本地服务来源校验说明。.gitignore 补充根目录一次性产物规则(aa.json / tmp_check_renew.csv / tmp_probe_js),移除已入库的 aa.md / aa.json。
2026-11-11 12:49:06 +08:00

31 lines
1.7 KiB
Bash
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.
# 37du Electron 壳:开发环境配置(拷贝为 .env 并修改)
# =============================================================
# 服务端地址(中心机控制面,内网生产 172.30.30.243:8800;本机联调用 127.0.0.1:8800)
CONTROLPLANE_URL=http://172.30.30.243:8800
# 内部凭证(与中心机 controlplane-next/server/.env 的 CONTROLPLANE_TOKEN 保持一致;非空时发 X-API-Token)
CONTROLPLANE_TOKEN=
# 插件执行子进程的 Python 解释器(解析优先级:本变量 > 环境包 python-env/current.json > 系统 python)
# 开发推荐显式指定项目 .venv;正式打包后不设即可自动使用随包/下发的环境包
# PYTHON_EXE=D:\work\code\37duAutomation\.venv\Scripts\python.exe
# 环境包目录的显式覆盖(默认:打包态 %LOCALAPPDATA%\37duAutomation\python-env;dev electron-shell/python-env/)
# SHELL_PYTHON_ENV_ROOT=D:\work\code\37duAutomation\desktop\electron-shell\python-env
# 插件根覆盖(默认:打包态 %LOCALAPPDATA%\37duAutomation\plugins;dev 仓库根 plugins/)
# SHELL_PLUGIN_ROOT=D:\work\code\37duAutomation\plugins
# SDK 安装根覆盖(默认 %LOCALAPPDATA%\37duAutomation\sdk;dev 与打包态同路径,通常无需设置)
# SHELL_SDK_ROOT=D:\work\code\37duAutomation\desktop\electron-shell\sdk
# 插件执行超时(秒,默认 21600=6 小时)。长流程(耗时数小时)不再被默认 30 分钟强杀;
# 个别插件可在 plugin.json 声明 runTimeoutSeconds 覆盖(0=不限时),RUN_TIMEOUT=0 则全局不限时
RUN_TIMEOUT=21600
# 插件进程作业级内存上限(MB,环境包模式经 job_guard/Job Object 生效,默认 2048)
# RUN_MAX_MEM_MB=2048
# 调试:1 开启完整 JSON 调试日志
# DEBUG=1