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