添加设置音频输出选择

This commit is contained in:
2026-05-18 15:52:51 +08:00
parent 38c079ed5c
commit baa6235c56
4 changed files with 67 additions and 7 deletions

View File

@ -440,6 +440,14 @@ onMounted(async () => {
} catch {}
updater.checkForUpdate(true);
// 恢复保存的输出设备设置
if(settings.outputDevice) {
try {
await invoke('set_output_device', { device: settings.outputDevice });
}
catch{}
}
});
const currentWindow = getCurrentWindow();