From 4998fddf6b8625f3403276e53556ee2eb788ce05 Mon Sep 17 00:00:00 2001 From: gxalpha Date: Tue, 16 Aug 2022 02:29:59 +0200 Subject: [PATCH] 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. --- UI/window-basic-main.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 8fc13852e..0efc83882 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -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 config_bin = os_get_config_path_ptr( "obs-studio/plugins/%module%.plugin/Contents/MacOS");