Add startup_json_path, disable_browser, port config

(cherry picked from commit acf5fdebf8)
This commit is contained in:
Xuwznln
2025-11-18 18:59:39 +08:00
parent 944911c52a
commit 956b1c905b
2 changed files with 11 additions and 5 deletions

View File

@@ -18,6 +18,9 @@ class BasicConfig:
vis_2d_enable = False
enable_resource_load = True
communication_protocol = "websocket"
startup_json_path = None # 填写绝对路径
disable_browser = False # 禁止浏览器自动打开
port = 8002 # 本地HTTP服务
log_level: Literal['TRACE', 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'] = "DEBUG" # 'TRACE', 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'
@classmethod