update osx-dmg.sh to do signing

This commit is contained in:
idk
2023-02-23 00:50:05 +00:00
parent 047a07a144
commit f97f960b90
3 changed files with 13 additions and 2 deletions

Binary file not shown.

View File

@ -1,5 +1,13 @@
#! /usr/bin/env sh
. ./config.sh
if [ -z "$I2P_SIGNER_USERPHRASE" ]; then
I2P_SIGNER_USERPHRASE=$(security find-identity -v -p codesigning | cut -d ' ' -f 4)
echo "Warning: using automatically configured signer ID, make sure this is the one you want: $I2P_SIGNER_USERPHRASE"
echo "continuing in 10 seconds"
sleep 10
fi
jpackage \
--verbose \
--type dmg \
@ -8,4 +16,7 @@ jpackage \
--icon src/icon.icns \
--input src/build \
--main-jar i2pfirefox.jar \
--mac-sign \
--mac-signing-key-user-name "$I2P_SIGNER_USERPHRASE" \
--mac-entitlements resources/entitlements.xml \
--main-class net.i2p.i2pfirefox.I2PBrowser

View File

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Sun Feb 12 20:31:18 UTC 2023
build.number=486
#Sun Feb 12 20:47:06 UTC 2023
build.number=493