mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
Merge pull request #2373 from WizardCM/multi-portable-warning
UI: Use absolute path for portable mode multi-instance check
This commit is contained in:
commit
ead2cbc2e1
@ -300,10 +300,13 @@ RunOnceMutex GetRunOnceMutex(bool &already_running)
|
||||
name = "OBSStudioCore";
|
||||
} else {
|
||||
char path[500];
|
||||
char absPath[512];
|
||||
*path = 0;
|
||||
*absPath = 0;
|
||||
GetConfigPath(path, sizeof(path), "");
|
||||
os_get_abs_path(path, absPath, sizeof(absPath));
|
||||
name = "OBSStudioPortable";
|
||||
name += path;
|
||||
name += absPath;
|
||||
}
|
||||
|
||||
BPtr<wchar_t> wname;
|
||||
|
Loading…
Reference in New Issue
Block a user