electron / osx-sign

Codesign Electron macOS apps
BSD 2-Clause "Simplified" License
558 stars 96 forks source link

fix(flat): use `pkgbuild` to bundle pre/postinstall scripts #282

Closed rickymohk closed 2 weeks ago

rickymohk commented 1 year ago

The --scripts should go to pkgbuild in order for preinstall and postinstall script to work. So the single productbuild command has to be separated into pkgbuild and productbuild.

I am not sure if the --scripts in productbuild has any practical use. Might need to add an new option if need to retain the --scripts for both productbuild and pkgbuild

continuous-auth[bot] commented 2 weeks ago

:tada: This PR is included in version 1.3.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: