UI: Don't load macOS plugin bundles from global library

Plugins are supposed to go into the user application support directory,
so we shouldn't load them from the system one.
This commit is contained in:
gxalpha
2022-08-17 17:03:48 +02:00
committed by Sebastian Beckmann
parent be98abc088
commit 4998fddf6b
-4
View File
@@ -178,10 +178,6 @@ static void AddExtraModulePaths()
string path = base_module_dir;
#if defined(__APPLE__)
/* System Library Search Path */
obs_add_module_path((path + ".plugin/Contents/MacOS").c_str(),
(path + ".plugin/Contents/Resources").c_str());
/* User Application Support Search Path */
BPtr<char> config_bin = os_get_config_path_ptr(
"obs-studio/plugins/%module%.plugin/Contents/MacOS");