Skip to content
Yoann Gini edited this page Apr 22, 2021 · 4 revisions

Sign Your Own Copy

Some people may need to distribute their copy of Hello IT signed with their own Developer ID. This is supported by Hello IT by design.

First you need an all set developer account with certificates to sign apps and packages for macOS.

Then you need to generate an app password for your Apple ID that will be used for notarization (here in the example contact@abelionni.com will be the Apple ID). You can get an app password from https://appleid.apple.com/.

Once you get your app password, save it in your keychain with the name altool-credentials using the proper ID as account name.

Then to clone the Hello IT repository and generate the package, execute the following commands and be sure to update environment variables according to your needs:

git clone git@github.com:ygini/Hello-IT.git
cd Hello-IT
NOTARIZATION_CUSTOM_DEVELOPER_ID_LOGIN="contact@abelionni.com" CUSTOM_DEVELOPER_ID_INSTALLER="Developer ID Installer: Abelionni (QGS2L9578J)" CUSTOM_DEVELOPER_ID_APP="Developer ID Application: Abelionni (QGS2L9578J)" ./package/BuildAndPackage.command

If you already have a altool saved credentials under a different name, you can use the NOTARIZATION_DEFAULT_DEVELOPER_ID_PASSWORD variable to specify it:

git clone git@github.com:ygini/Hello-IT.git
cd Hello-IT
NOTARIZATION_CUSTOM_DEVELOPER_ID_LOGIN="contact@abelionni.com" NOTARIZATION_DEFAULT_DEVELOPER_ID_PASSWORD="@keychain:altool-abelionni-credentials" CUSTOM_DEVELOPER_ID_INSTALLER="Developer ID Installer: Abelionni (QGS2L9578J)" CUSTOM_DEVELOPER_ID_APP="Developer ID Application: Abelionni (QGS2L9578J)" ./package/BuildAndPackage.command

Your builds and packages will be available in package/build