feat: add uv mirror detection and python bootstrap (#24)

Co-authored-by: chatgpt-codex-connector[bot] <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com>
This commit is contained in:
Felix
2026-02-10 13:55:37 +08:00
committed by GitHub
Unverified
parent badc424f6a
commit 7965b9c06e
4 changed files with 180 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ import { createMenu } from './menu';
import { appUpdater, registerUpdateHandlers } from './updater';
import { logger } from '../utils/logger';
import { warmupNetworkOptimization } from '../utils/uv-env';
import { ClawHubService } from '../gateway/clawhub';
@@ -111,6 +112,9 @@ async function initialize(): Promise<void> {
logger.info(`Resources path: ${process.resourcesPath}`);
logger.info(`Exec path: ${process.execPath}`);
// Warm up network optimization (non-blocking)
void warmupNetworkOptimization();
// Set application menu
createMenu();