mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-18 00:54:19 +00:00
Projucer: Remove custom VST3 path options
This commit is contained in:
parent
74df988e9d
commit
521c250413
9 changed files with 9 additions and 51 deletions
|
|
@ -459,11 +459,6 @@ private:
|
|||
&& (project.isConfigFlagEnabled ("JUCE_PLUGINHOST_VST3", false)
|
||||
|| project.isConfigFlagEnabled ("JUCE_PLUGINHOST_VST", false));
|
||||
|
||||
auto customVst3Path = getAppSettings().getStoredPath (Ids::vst3Path, TargetOS::getThisOS()).get().toString();
|
||||
|
||||
if (customVst3Path.isNotEmpty() && (project.isAudioPluginProject() || isVSTHost))
|
||||
paths.add (customVst3Path);
|
||||
|
||||
OwnedArray<LibraryModule> modules;
|
||||
project.getEnabledModules().createRequiredModules (modules);
|
||||
|
||||
|
|
@ -471,9 +466,8 @@ private:
|
|||
{
|
||||
paths.addIfNotAlreadyThere (module->getFolder().getParentDirectory().getFullPathName());
|
||||
|
||||
if (customVst3Path.isEmpty() && (project.isAudioPluginProject() || isVSTHost))
|
||||
if (module->getID() == "juce_audio_processors")
|
||||
paths.addIfNotAlreadyThere (module->getFolder().getChildFile ("format_types").getChildFile ("VST3_SDK").getFullPathName());
|
||||
if (module->getID() == "juce_audio_processors" && (project.isAudioPluginProject() || isVSTHost))
|
||||
paths.addIfNotAlreadyThere (module->getFolder().getChildFile ("format_types").getChildFile ("VST3_SDK").getFullPathName());
|
||||
}
|
||||
|
||||
return convertSearchPathsToAbsolute (paths);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue