1
0
Fork 0
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:
ed 2018-04-05 15:31:44 +01:00
parent c03c950c48
commit 978edcff38

View file

@ -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);