mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-13 00:04:19 +00:00
Projucer: Increase the subfolder recursion depth when searching for modules and fix a couple of places where paths containing ~ were not being parsed correctly
This commit is contained in:
parent
934e2995ff
commit
e6c85b8a08
1 changed files with 5 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ Result ModuleList::addAllModulesInFolder (const File& path)
|
|||
{
|
||||
if (! tryToAddModuleFromFolder (path))
|
||||
{
|
||||
int subfolders = 2;
|
||||
int subfolders = 5;
|
||||
return addAllModulesInSubfoldersRecursively (path, subfolders);
|
||||
}
|
||||
|
||||
|
|
@ -324,6 +324,8 @@ void ModuleList::scanGlobalUserModulePath()
|
|||
|
||||
for (auto p : paths)
|
||||
{
|
||||
p = p.replace ("~", File::getSpecialLocation (File::userHomeDirectory).getFullPathName());
|
||||
|
||||
auto f = File::createFileWithoutCheckingPath (p.trim());
|
||||
if (f.exists())
|
||||
addAllModulesInFolder (f);
|
||||
|
|
@ -715,6 +717,8 @@ File EnabledModuleList::findUserModuleFolder (const String& possiblePaths, const
|
|||
|
||||
for (auto p : paths)
|
||||
{
|
||||
p = p.replace ("~", File::getSpecialLocation (File::userHomeDirectory).getFullPathName());
|
||||
|
||||
auto f = File::createFileWithoutCheckingPath (p.trim());
|
||||
if (f.exists())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue