mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Introjucer: fix for finding modules on linux.
This commit is contained in:
parent
94aca67a9b
commit
20fa1be6ed
2 changed files with 20 additions and 6 deletions
|
|
@ -124,7 +124,7 @@ static Array<File> getAllPossibleModulePaths (Project& project)
|
|||
|
||||
for (Project::ExporterIterator exporter (project); exporter.next();)
|
||||
{
|
||||
if (exporter->canLaunchProject())
|
||||
if (exporter->mayCompileOnCurrentOS())
|
||||
{
|
||||
for (int i = 0; i < project.getModules().getNumModules(); ++i)
|
||||
{
|
||||
|
|
@ -185,7 +185,7 @@ bool ModuleList::loadFromWebsite()
|
|||
URL baseURL ("http://www.juce.com/juce/modules");
|
||||
URL url (baseURL.getChildURL ("modulelist.php"));
|
||||
|
||||
const ScopedPointer<InputStream> in (url.createInputStream (false, nullptr, nullptr, String::empty, 10000));
|
||||
const ScopedPointer<InputStream> in (url.createInputStream (false, nullptr, nullptr, String::empty, 4000));
|
||||
|
||||
if (in == nullptr)
|
||||
return false;
|
||||
|
|
@ -633,7 +633,7 @@ File EnabledModuleList::getModuleInfoFile (const String& moduleID)
|
|||
{
|
||||
for (Project::ExporterIterator exporter (project); exporter.next();)
|
||||
{
|
||||
if (exporter->canLaunchProject())
|
||||
if (exporter->mayCompileOnCurrentOS())
|
||||
{
|
||||
const String path (exporter->getPathForModuleString (moduleID));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue