fix: check broadcast binaries without case sensitivity (#5260)

This commit is contained in:
iProdigy
2024-03-24 03:30:22 -07:00
committed by GitHub
parent ed20e71db4
commit ca69172479
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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)