Closed justinmoon closed 2 years ago
In this case you would need to use npm run electron:make
. This should create a .dmg
file (if you have specified it in your electron-builder.config.json
file).
npm run electron:pack
only builds the app but does not create platform packages.
OK thanks!
When I run
npm run electron:pack
in theelectron
directory that's created when I add this@capacitor-community/electron
to my project,electron/dist/mac-arm64/<my-app-name>.app
is created and runs when if I click on it in Finder.How would I create a
.dmg
installer which would allow user to copy the app into theirApplications
folder which is the standard flow on MacOS?