UNPKG

innomind-vita

Version:

InnoMind Vita - AI-Powered Industrial Software Platform

43 lines (37 loc) 805 B
/** * Electron 端入口文件 */ // 启动配置 interface StartupConfig { mode: 'browser' | 'electron'; debug?: boolean; window?: { width: number; height: number; }; } // 初始化配置 const config: StartupConfig = { mode: 'electron', debug: process.env.NODE_ENV !== 'production', window: { width: 1280, height: 800 } }; // 启动应用 async function startup() { console.log('InnoMind Vita Electron 端启动中...'); try { // TODO: 初始化主进程 // TODO: 创建窗口 // TODO: 加载渲染进程 // TODO: 注册IPC通信 console.log('Electron 应用启动完成'); } catch (error) { console.error('启动失败:', error); process.exit(1); } } // 执行启动 startup();