UI: Detect other instances of obs on Linux

fixes: obsproject#3053
This commit is contained in:
Christian Lockley 2020-10-27 17:42:45 -05:00 • committed by Jim
commit ad528bef17
3 changed files with 67 additions and 0 deletions

View file

@ -1941,6 +1941,8 @@ static int run_program(fstream &logFile, int argc, char *argv[])
RunOnceMutex rom = GetRunOnceMutex(already_running);
#elif defined(__APPLE__)
CheckAppWithSameBundleID(already_running);
#elif defined(__linux__)
RunningInstanceCheck(already_running);
#endif
if (!already_running) {