UI/importers: Automatically detect SL Collections on macOS

master
gxalpha 2021-11-28 13:57:07 +01:00 committed by Jim
parent f8bcc190e2
commit 3dbdd4b312
1 changed files with 4 additions and 3 deletions

View File

@ -503,11 +503,12 @@ bool SLImporter::Check(const string &path)
OBSImporterFiles SLImporter::FindFiles()
{
OBSImporterFiles res;
#ifdef _WIN32
#if defined(_WIN32) || defined(__APPLE__)
char dst[512];
int found = os_get_config_path(dst, 512,
"slobs-client\\SceneCollections\\");
int found =
os_get_config_path(dst, 512, "slobs-client/SceneCollections/");
if (found == -1)
return res;