feat: 实现语音转文字并支持流式输出;

fix: 修复了语音解密失败的问题
This commit is contained in:
cc committed 2026-01-17 14:16:54 +08:00
1 parent 650de55202
commit e8babd48b6
33 files changed
+1713 -570

No files matched your search

+17
View File
@@ -89,6 +89,23 @@ export default defineConfig({
}
}
},
{
entry: 'electron/transcribeWorker.ts',
vite: {
build: {
outDir: 'dist-electron',
rollupOptions: {
external: [
'sherpa-onnx-node'
],
output: {
entryFileNames: 'transcribeWorker.js',
inlineDynamicImports: true
}
}
}
}
},
{
entry: 'electron/preload.ts',
onstart(options) {