重构与优化,旨在解决遗留的性能问题并优化用户体验,本次提交遗留了较多的待测功能

This commit is contained in:
cc
2026-03-18 23:49:50 +08:00
parent 4c32bf5934
commit 48c4197b16
22 changed files with 2726 additions and 1598 deletions

View File

@@ -34,7 +34,8 @@ export default defineConfig({
'whisper-node',
'shelljs',
'exceljs',
'node-llama-cpp'
'node-llama-cpp',
'sudo-prompt'
]
}
}
@@ -126,6 +127,26 @@ export default defineConfig({
}
}
},
{
entry: 'electron/exportWorker.ts',
vite: {
build: {
outDir: 'dist-electron',
rollupOptions: {
external: [
'better-sqlite3',
'koffi',
'fsevents',
'exceljs'
],
output: {
entryFileNames: 'exportWorker.js',
inlineDynamicImports: true
}
}
}
}
},
{
entry: 'electron/preload.ts',
onstart(options) {