ProJucer change request (PostExportScript call location)

I have an AAX DSP mod which requires copying some files into the copied modules in JuceLibraryCode/modules – namely:

JuceLibraryCode/modules/juce_audio_plugin_client/juce_audio_plugin_client_AAX.h

Unfortunately in ProJucer you call runPostExportScript() before calling deleteUnwantedFilesIn() which deletes the file above post running the post-export script.

In ProjectSaver::saveProject can you please change the order of the postExportScript() to:

        saveBasicProjectItems (modules, loadUserContentFromAppConfig());
        writeProjects (modules, specifiedExporterToSave);
        writeProjectFile();

        // runPostExportScript();                       // MOVE THIS

        if (generatedCodeFolder.exists())
        {
            writeReadmeFile();
            deleteUnwantedFilesIn (generatedCodeFolder);
        }
    
        runPostExportScript();                          // TO HERE

        if (errors.isEmpty())
            return Result::ok();

Thanks,

Rail

BUMP - Still run into this when exporting with a script

Rail

This is now fixed on develop, thanks for reporting.

1 Like