File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,8 @@ class DPFExporter final : public ExporterBase {
205205 metaJson->setProperty (" dpf" , metaDPF);
206206 metaJson->setProperty (" nosimd" , nosimd);
207207
208- args.add (" -m" + createMetaJson (metaJson));
208+ auto metaJsonFile = createMetaJson (metaJson);
209+ args.add (" -m" + metaJsonFile);
209210
210211 args.add (" -v" );
211212 args.add (" -gdpf" );
@@ -241,6 +242,11 @@ class DPFExporter final : public ExporterBase {
241242 DPFGui.copyDirectoryTo (outputFile.getChildFile (" dpf-widgets" ));
242243 }
243244
245+ if (exportType == 3 || exportType == 4 ) {
246+ auto metaFile = File (metaJsonFile);
247+ metaFile.copyFileTo (outputFile.getChildFile (" meta.json" ));
248+ }
249+
244250 // Delay to get correct exit code
245251 Time::waitForMillisecondCounter (Time::getMillisecondCounter () + 300 );
246252
You can’t perform that action at this time.
0 commit comments