feat: 增加windows发送能力

抽离功能到设置页面
抽离文字转语音功能
This commit is contained in:
电摇小子 committed 2026-08-31 02:44:24 +08:00
1 parent 698251796f
commit 5acfa14475
33 files changed
+2226 -905

No files matched your search

+3 -1
View File
@@ -41,6 +41,7 @@ export interface AppSettings {
ttsModel: TextToSpeechModel
/** Keep a running personal-WeChat OneBot process across app restarts. */
keepPersonalWechatProcess?: boolean
windowsWechatPort: string
}
function getDefaultDbRoot(): string {
@@ -123,7 +124,8 @@ const DEFAULT_SETTINGS: AppSettings = {
showStartupProgress: true,
ttsSelectedVoiceId: '',
ttsModel: 's2.1-pro-free',
keepPersonalWechatProcess: false
keepPersonalWechatProcess: false,
windowsWechatPort: ''
}
const SETTINGS_FILE = path.join(