feat: 增加了音频输入选项,并优化了字幕引擎的构建和运行流程。

- 新增了系统音频输入(麦克风)的选择功能
- 重构了字幕引擎的构建流程,使用 PyInstaller 打包为可执行文件
- 优化了字幕引擎的启动和停止逻辑
- 更新了用户界面,增加了音频选择的控制选项
- 修改了相关的文件路径和构建配置
This commit is contained in:
himeditator
2025-06-21 23:22:19 +08:00
parent 7030aaaae3
commit 42237a229c
15 changed files with 268 additions and 63 deletions

View File

@@ -1,4 +1,4 @@
appId: com.electron.app
appId: com.himeditator.autocaption
productName: auto-caption
directories:
buildResources: build
@@ -9,10 +9,14 @@ files:
- '!{.eslintcache,eslint.config.mjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
extraResources:
from: ./python-subprocess/dist/main-gummy.exe
to: ./python-subprocess/dist/main-gummy.exe
asarUnpack:
- resources/**
win:
executableName: auto-caption
icon: resources/icon.png
nsis:
artifactName: ${name}-${version}-setup.${ext}
shortcutName: ${productName}