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

macOS pkg installer and dmg image #93

Closed
redtide opened this issue Mar 1, 2020 · 3 comments
Closed

macOS pkg installer and dmg image #93

redtide opened this issue Mar 1, 2020 · 3 comments
Labels
new feature Feature additions and requests

Comments

@redtide
Copy link
Member

redtide commented Mar 1, 2020

Currently we are providing tar.gz archives for both sfizz library and LV2 plugin.
On Windows we have an InnoSetup script to build an installer setup, via Travis-CI, for the LV2 plugin; it would be good to have one also on macOS.

On macOS does exists a procedure to create .pkg installer package files using pkgbuild, productbuild and pkgutil tools; there are also some frontend utilities to simplify the process. I started using macos-installer-builder (here an article from the author) but it seems there is also another interesting one called Packages.
The purpose is to create a final bash script to use in Travis-CI, so no GUI based builders.

As a side note, similar on InnoSetup on Windows, macOS packages can be publicly signed and an Apple Developer account is required to do it. On latest macOS versions signing is mandatory (see "notarization").

Another additional option could be to distribute the resulting package using a dmg image, usually built using hdiutil. This could be also achieved by using create-dmg, "a shell script to build fancy DMGs", so it can be executed inside the CI build.

@redtide redtide added the new feature Feature additions and requests label Mar 1, 2020
@baconpaul
Copy link

https://github.com/surge-synthesizer/surge/blob/master/installer_mac/make_installer.sh

there's a bash script we use to make an (unnotarized) installer for surge if that helps. Once we have that built with a stable web address, it was just a few hops to get it into home-brew too.

@redtide
Copy link
Member Author

redtide commented May 22, 2020

Thank you @baconpaul!

@redtide
Copy link
Member Author

redtide commented Jul 27, 2022

I guess I can close this now, after a lot of work done by different people to manage Apple's "monetarization" madness.

@redtide redtide closed this as completed Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Feature additions and requests
Projects
None yet
Development

No branches or pull requests

2 participants