Added automatic streamer mode detection to Linux (#2316)

This commit is contained in:
Paweł
2021-01-09 22:14:25 +01:00
committed by GitHub
parent b3e01a40d7
commit fca62f7c1d
7 changed files with 104 additions and 47 deletions
+5 -4
View File
@@ -320,13 +320,14 @@ void GeneralPage::initLayout(GeneralPageView &layout)
layout.addTitle("Streamer Mode");
layout.addDescription(
"Chatterino can automatically change behavior if it "
"detects that \"OBS Studio\" is running.\nSelect which "
"things you want to change while streaming");
"Chatterino can automatically change behavior if it detects that \"OBS "
"Studio\" is running (Automatic mode works only on Windows and "
"Linux).\nSelect which things you want to change while streaming");
ComboBox *dankDropdown =
layout.addDropdown<std::underlying_type<StreamerModeSetting>::type>(
"Enable Streamer Mode", {"No", "Yes", "Detect OBS (Windows only)"},
"Enable Streamer Mode",
{"Disabled", "Enabled", "Automatic (Detect OBS)"},
s.enableStreamerMode,
[](int value) {
return value;