From the terminal, I can do something like
export ELECTRON_RUN_AS_NODE=1 electron myapp
To get electron running as a node instance. Now, how can I achieve the same behavior when running a packaged app? The behavior I would like to get is that when one clicks on the packaged app an electron instance with
ELECTRON_RUN_AS_NODE environment variable set.
Is it possible to get such a thing?