From ca69172479d751ec67632f35653d1b1aacd58753 Mon Sep 17 00:00:00 2001 From: iProdigy <8106344+iProdigy@users.noreply.github.com> Date: Sun, 24 Mar 2024 03:30:22 -0700 Subject: [PATCH] fix: check broadcast binaries without case sensitivity (#5260) --- CHANGELOG.md | 1 + src/singletons/StreamerMode.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 865a4148121..b74cadd2656 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -112,6 +112,7 @@ - Bugfix: Fixed split header tooltips showing in the wrong position on Windows. (#5230) - Bugfix: Fixed split header tooltips appearing too tall. (#5232) - Bugfix: Fixed past messages not showing in the search popup after adding a channel. (#5248) +- Bugfix: Detect when OBS is running on MacOS. (#5260) - Dev: Run miniaudio in a separate thread, and simplify it to not manage the device ourselves. There's a chance the simplification is a bad idea. (#4978) - Dev: Change clang-format from v14 to v16. (#4929) - Dev: Fixed UTF16 encoding of `modes` file for the installer. (#4791) diff --git a/src/singletons/StreamerMode.cpp b/src/singletons/StreamerMode.cpp index cb73112757f..7ee4fa5884b 100644 --- a/src/singletons/StreamerMode.cpp +++ b/src/singletons/StreamerMode.cpp @@ -52,7 +52,7 @@ bool isBroadcasterSoftwareActive() { #if defined(Q_OS_LINUX) || defined(Q_OS_MACOS) QProcess p; - p.start("pgrep", {"-x", broadcastingBinaries().join("|")}, + p.start("pgrep", {"-xi", broadcastingBinaries().join("|")}, QIODevice::NotOpen); if (p.waitForFinished(1000) && p.exitStatus() == QProcess::NormalExit)