mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-25 02:04:23 +00:00
Big refactoring of the introjucer's module handling - removed the global module path, and each module now stores its path for each exporter. Rewrote all the UI for downloading + updating modules.
This commit is contained in:
parent
35286f06be
commit
a9aae9651b
36 changed files with 1706 additions and 1862 deletions
|
|
@ -113,7 +113,7 @@ namespace
|
|||
jassert (targetFolder.isDirectory());
|
||||
|
||||
const File moduleFolderParent (moduleFolder.getParentDirectory());
|
||||
LibraryModule module (moduleFolder.getChildFile (LibraryModule::getInfoFileName()));
|
||||
LibraryModule module (moduleFolder.getChildFile (ModuleDescription::getManifestFileName()));
|
||||
|
||||
if (! module.isValid())
|
||||
{
|
||||
|
|
@ -174,7 +174,7 @@ namespace
|
|||
|
||||
while (i.next())
|
||||
{
|
||||
LibraryModule module (i.getFile().getChildFile (LibraryModule::getInfoFileName()));
|
||||
LibraryModule module (i.getFile().getChildFile (ModuleDescription::getManifestFileName()));
|
||||
|
||||
if (module.isValid())
|
||||
{
|
||||
|
|
@ -185,7 +185,7 @@ namespace
|
|||
|
||||
var moduleInfo (new DynamicObject());
|
||||
moduleInfo.getDynamicObject()->setProperty ("file", getModulePackageName (module));
|
||||
moduleInfo.getDynamicObject()->setProperty ("info", module.moduleInfo);
|
||||
moduleInfo.getDynamicObject()->setProperty ("info", module.moduleInfo.moduleInfo);
|
||||
infoList.append (moduleInfo);
|
||||
}
|
||||
}
|
||||
|
|
@ -230,7 +230,7 @@ namespace
|
|||
<< "Name: " << proj.getTitle() << std::endl
|
||||
<< "UID: " << proj.getProjectUID() << std::endl;
|
||||
|
||||
EnabledModuleList modules (proj.getModules());
|
||||
EnabledModuleList& modules = proj.getModules();
|
||||
|
||||
const int numModules = modules.getNumModules();
|
||||
if (numModules > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue