| @@ -93,17 +93,15 @@ public: | |||||
| auto projectRootHash = project.getProjectRoot().toXmlString().hashCode(); | auto projectRootHash = project.getProjectRoot().toXmlString().hashCode(); | ||||
| if (project.getProjectType().isAudioPlugin()) | |||||
| writePluginCharacteristicsFile(); | |||||
| writeAppConfigFile (modules, appConfigUserContent); | writeAppConfigFile (modules, appConfigUserContent); | ||||
| writeBinaryDataFiles(); | writeBinaryDataFiles(); | ||||
| writeAppHeader (modules); | writeAppHeader (modules); | ||||
| writeModuleCppWrappers (modules); | writeModuleCppWrappers (modules); | ||||
| writeProjects (modules, specifiedExporterToSave, ! showProgressBox); | writeProjects (modules, specifiedExporterToSave, ! showProgressBox); | ||||
| if (project.getProjectType().isAudioPlugin()) | |||||
| writePluginCharacteristicsFile(); | |||||
| writeAppConfigFile (modules, appConfigUserContent); // (this is repeated in case the projects added anything to it) | |||||
| // if the project root has changed after writing the other files then re-save it | // if the project root has changed after writing the other files then re-save it | ||||
| if (project.getProjectRoot().toXmlString().hashCode() != projectRootHash) | if (project.getProjectRoot().toXmlString().hashCode() != projectRootHash) | ||||
| { | { | ||||
| @@ -151,17 +149,14 @@ public: | |||||
| if (errors.size() == 0) | if (errors.size() == 0) | ||||
| { | { | ||||
| if (project.getProjectType().isAudioPlugin()) | |||||
| writePluginCharacteristicsFile(); | |||||
| writeAppConfigFile (modules, loadUserContentFromAppConfig()); | writeAppConfigFile (modules, loadUserContentFromAppConfig()); | ||||
| writeBinaryDataFiles(); | writeBinaryDataFiles(); | ||||
| writeAppHeader (modules); | writeAppHeader (modules); | ||||
| writeModuleCppWrappers (modules); | writeModuleCppWrappers (modules); | ||||
| if (project.getProjectType().isAudioPlugin()) | |||||
| { | |||||
| writePluginCharacteristicsFile(); | |||||
| writeAppConfigFile (modules, loadUserContentFromAppConfig()); | |||||
| } | |||||
| return Result::ok(); | return Result::ok(); | ||||
| } | } | ||||