mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Ensure that getAvailableModulesInGlobalPath() can handle paths starting with "~"
This commit is contained in:
parent
c03c950c48
commit
978edcff38
1 changed files with 2 additions and 0 deletions
|
|
@ -626,6 +626,8 @@ public:
|
|||
|
||||
for (auto p : paths)
|
||||
{
|
||||
p = p.replace ("~", File::getSpecialLocation (File::userHomeDirectory).getFullPathName());
|
||||
|
||||
auto f = File::createFileWithoutCheckingPath (p.trim());
|
||||
if (f.exists())
|
||||
list.addAllModulesInFolder (f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue