2022-11-13 16:26:22 -05:00
|
|
|
#! /usr/bin/env sh
|
|
|
|
|
2023-01-16 18:59:46 +00:00
|
|
|
# Uncomment/Edit this line to include the signer in the config file
|
|
|
|
# I2P_SIGNER=JIHGFEDCBA
|
|
|
|
# Uncomment/Edit this line to include the code signer in the config file
|
|
|
|
# I2P_CODE_SIGNER=ABCDEFGHIJ
|
|
|
|
# Uncomment/Edit this line to include the phrase identifying the signer to jpackage in the config file
|
2023-01-17 00:58:57 +00:00
|
|
|
# I2P_SIGNER_USERPHRASE=3rd Party Mac Developer Application: John Smith (ABCDEFGHIJ)
|
2023-01-16 18:59:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Uncomment/Edit this line to include the version number in the config file
|
2024-10-20 15:45:02 -04:00
|
|
|
I2P_VERSION=i2p-2.7.0
|
2023-02-16 18:51:38 +00:00
|
|
|
# Uncomment/Edit this line to change the version number that you pass to jpackage
|
2024-10-20 15:45:02 -04:00
|
|
|
I2P_RELEASE_VERSION=2.7.0
|
2023-01-16 18:59:46 +00:00
|
|
|
# Uncomment/Edit this line to include the build number in the config file
|
|
|
|
# I2P_BUILD_NUMBER=1
|
|
|
|
|
2023-02-01 23:23:14 +00:00
|
|
|
if [ -z "$I2P_SIGNER" ]; then
|
2023-01-12 00:36:58 +00:00
|
|
|
# This is the team ID of the Apple account associated with the app. It is used to sign the DMG.
|
|
|
|
# it is a unique ID which is a short, random-looking string.
|
2023-02-01 21:58:27 +00:00
|
|
|
# OR
|
|
|
|
# the sha256 fingerprint of the cert(recommended)
|
2023-01-16 18:59:46 +00:00
|
|
|
echo "I2P_SIGNER not set, signing will not work"
|
2023-01-12 00:36:58 +00:00
|
|
|
fi
|
2023-02-01 23:23:14 +00:00
|
|
|
if [ -z "$I2P_CODE_SIGNER" ]; then
|
2023-01-12 00:36:58 +00:00
|
|
|
# This is the code signing ID of the team associated with the Apple Account. it is used to sign the libraries.
|
|
|
|
# it is a unique ID which is a short, random-looking string.
|
2023-02-01 21:58:27 +00:00
|
|
|
# OR
|
|
|
|
# the sha256 fingerprint of the cert(recommended)
|
2023-01-16 18:59:46 +00:00
|
|
|
echo "I2P_CODE_SIGNER not set, signing will not work"
|
2022-12-28 01:35:01 +00:00
|
|
|
fi
|
2023-02-01 21:48:02 +00:00
|
|
|
if [ -z "$I2P_SIGNER_USERPHRASE" ]; then
|
2023-01-16 18:59:46 +00:00
|
|
|
# This is an the phrase identifying the third party developer(I2P) in the following form:
|
|
|
|
# 3rd Party Mac Developer Application: John Smith (ABCDEFGHIJ)
|
2023-02-01 21:58:27 +00:00
|
|
|
# OR
|
|
|
|
# the sha256 fingerprint of the cert(recommended)
|
2023-01-16 18:59:46 +00:00
|
|
|
echo "I2P_SIGNER_USERPHRASE not set, signing will not work"
|
2022-12-28 01:35:01 +00:00
|
|
|
fi
|
2023-01-16 18:59:46 +00:00
|
|
|
|