Run Node script in electron on system where node is not installed


In the app I am building, I want to run node scripts. However, it is quite possible that the end user may not have node installed on their system. Thus, I want to be able to run those scripts using the node that comes with electron. How do I do that?


I found this and am trying it out