Skip to content

知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.

fix(windows): a meeting in WeCom counts as a call

wquguru8a588201a4c4
diff --git a/windows/src/Cicada.Core/MeetingEnd.cs b/windows/src/Cicada.Core/MeetingEnd.cs
index b6425c8..65812bd 100644
--- a/windows/src/Cicada.Core/MeetingEnd.cs
+++ b/windows/src/Cicada.Core/MeetingEnd.cs
@@ -110,7 +110,7 @@ public static class MicUse
static readonly (string Key, string Name)[] Apps =
[
("zoom.exe", "Zoom"), ("wemeetapp.exe", "腾讯会议"), ("feishu.exe", "飞书"), ("lark.exe", "Lark"),
- ("dingtalk.exe", "钉钉"), ("teams.exe", "Teams"), ("ms-teams.exe", "Teams"), ("msteams_", "Teams"),
+ ("dingtalk.exe", "钉钉"), ("wxwork.exe", "企业微信"), ("teams.exe", "Teams"), ("ms-teams.exe", "Teams"), ("msteams_", "Teams"),
("ciscocollabhost.exe", "Webex"), ("webex.exe", "Webex"), ("cisco.webex", "Webex"),
];
diff --git a/windows/tests/Cicada.Tests/Program.cs b/windows/tests/Cicada.Tests/Program.cs
index 26b94eb..e36b051 100644
--- a/windows/tests/Cicada.Tests/Program.cs
+++ b/windows/tests/Cicada.Tests/Program.cs
@@ -177,8 +177,9 @@ static class Tests
("C:#Program Files (x86)#Tencent#WeMeet#wemeetapp.exe", 133_000_000_000), // used earlier, closed now
("C:#Program Files#Google#Chrome#Application#chrome.exe", 0), // a browser isn't a meeting app
("MSTeams_8wekyb3d8bbwe", 0),
+ ("C:#Program Files (x86)#WXWork#WXWork.exe", 0),
]);
- Equal("Teams=msteams,Zoom=zoom.exe", string.Join(",", calls.OrderBy(p => p.Value).Select(p => $"{p.Value}={p.Key}")), "meeting apps reading a mic");
+ Equal("Teams=msteams,Zoom=zoom.exe,企业微信=wxwork.exe", string.Join(",", calls.OrderBy(p => p.Value).Select(p => $"{p.Value}={p.Key}")), "meeting apps reading a mic");
Equal(0, MicUse.Calls([]).Count, "none");
}