UI: Detect other instances of obs on Linux
fixes: obsproject#3053
This commit is contained in:
parent
57bed7923e
commit
ad528bef17
3 changed files with 67 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue