Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to package the .app returned by universal into pkg for distribution? #39

Open
kanishk-zaanu opened this issue Feb 9, 2022 · 3 comments
Labels
question Further information is requested

Comments

@kanishk-zaanu
Copy link

Please can somebody help, I am new to this.?

@LeaderBoy
Copy link

LeaderBoy commented Apr 15, 2022

Please can somebody help, I am new to this.?

#  get it by run  `security find-identity -v -p codesigning`
signID='Developer ID Installer xxx' 

sudo productbuild --component 'xxx.app' /Applications --sign "$signID" --product 'xxx.app/Contents/Info.plist' build.pkg

echo "productbuild success"

sudo productsign --sign "$signID" build.pkg  success.pkg

echo "productsign success"

@davidsquarev
Copy link

Hi @LeaderBoy

I am trying your method, but face the signID problem, do you know how to avoid it or other workaround, thank you!

electron-userland/electron-builder#6523

@erickzhao
Copy link
Member

@erickzhao erickzhao added the question Further information is requested label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants