Afshin Moazami
Afshin Moazami

Reputation: 2098

How to add a step to electron builder installer in MacOS

I am trying to create a pkg file of my electron application using electron-installer-dmg and electron-packager.

Digging into the documentation of these two (and few other tools), I couldn't find a configuration or solution to add a step in the install process.

To be more clear, when I click on the pkg file, I would like to have a user agreement step.

Upvotes: 1

Views: 1028

Answers (1)

Afshin Moazami
Afshin Moazami

Reputation: 2098

For dmg, you can simply drop a license file in the build folder. Look here for more details.

For pkg, unfortunately, it is not developed yet. Here is the related issue.

Upvotes: 1

Related Questions