Export Script: coding with JS and Node

Hello,

I think would be nice to write the export script in JavaScript, having BootstrapStudio executing it in a NodeJS context. If I'm not wrong, BootstrapStudio is developed with Nodewebkit or Electron. If so, you may consider this suggestion that would make the export scripting working cross-platform, with one language only.

Thanks, F.

Thanks for the suggestion! Bootstrap Studio is indeed developed in Electron, but we can't execute your scripts in the same process for security reasons. Your code needs to be run in a separate process.

If you wish to write your script in node, you can just add !#/path/to/node at the top of your js file, make it executable, and use it as an export script straight away.

Thanks that's useful too.