create installer electron



  • I can build my application in the electron using quasar.js with the command quasar build -m electron -t ios and generate a folder with the executable. How do I create the installer for Windows?



  • I have two npm scripts in package.json:
    “prepack:win64”: “quasar build -c --mode electron --target win32 --arch x64 --theme mat”
    “pack:win64”: "npm run prepack:win64 && electron-builder --win --x64 --project dist/electron-mat/UnPackaged/ --prepackaged …/[app-name]-win32-x64/

    You need the “electron-builder” as dev-dependency.

    npm run pack:64


Log in to reply
 

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.