Browse Source

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.
gxalpha 3 years ago
parent
commit
4998fddf6b
1 changed files with 0 additions and 4 deletions
  1. 0 4
      UI/window-basic-main.cpp

+ 0 - 4
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<char> config_bin = os_get_config_path_ptr(
 		"obs-studio/plugins/%module%.plugin/Contents/MacOS");