Skip to content

Commit ccff1ac

Browse files
authored
Enable speech-dispatcher support for TTS on linux (Vencord#874)
1 parent 062b536 commit ccff1ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ function init() {
6060
// WidgetLayering (Vencord Added): Fix DevTools context menus https://github.com/electron/electron/issues/38790
6161
disabledFeatures.push("WinRetrieveSuggestionsOnlyOnDemand", "HardwareMediaKeyHandling", "MediaSessionService");
6262

63+
// Support TTS on Linux using speech-dispatcher
64+
app.commandLine.appendSwitch("enable-speech-dispatcher");
65+
6366
app.commandLine.appendSwitch("enable-features", [...new Set(enabledFeatures)].filter(Boolean).join(","));
6467
app.commandLine.appendSwitch("disable-features", [...new Set(disabledFeatures)].filter(Boolean).join(","));
6568

0 commit comments

Comments
 (0)