I have created my own app using electron and now built it using electron-packager to an .app file.
Of course on my Mac — with NodeJS installed — it works. Now I wonder if it would work if I sent my app to a friend who doesn't have NodeJS installed. So my question is: Is NodeJS required to run a packaged electron app?
Thank you!
I have created my own app using electron and now built it using electron-packager to an .app file.
Of course on my Mac — with NodeJS installed — it works. Now I wonder if it would work if I sent my app to a friend who doesn't have NodeJS installed. So my question is: Is NodeJS required to run a packaged electron app?
Thank you!
Share Improve this question asked Jan 16, 2016 at 15:35 HansMu158HansMu158 5555 silver badges15 bronze badges1 Answer
Reset to default 19If you've packaged your app correctly you will be able to send it to your friend (you probably need to zip / dmg the app because it contains symlinks). Your friend does not need to install electron nor node beforehand -- it should all be packaged already (including all your node modules).