feat: TypeScript + Electron v2.0.0 构建系统完善

- 添加 vite.config.ts 构建配置
- 添加 tsconfig.main.json(主进程单独编译)
- 修复主进程模块化(menu/tray 使用 setQuitting)
- 修复渲染进程导入路径
- 删除旧版 JS/Web 文件(js/、electron/、sw.js、manifest.json)
- 构建验证通过:NSIS 安装包 + 便携版
This commit is contained in:
thzxx
2026-04-06 03:21:05 +08:00
parent 7ca0e33d77
commit 0ec6e902de
43 changed files with 1932 additions and 11104 deletions
+1 -2
View File
@@ -3,8 +3,7 @@
* 负责初始化所有组件、协调事件流、管理生命周期
*/
import '../styles/style.css';
import './types.js';
import './styles/style.css';
import { ChatDB } from './db/chat-db.js';
import { OllamaAPI } from './api/ollama.js';