get electron js code from exe code example Example: electron app to exe $ electron-packager . app --platform win32 --arch x64 --out dist/