update osx-dmg.sh to do signing
This commit is contained in:
Binary file not shown.
11
osx-dmg.sh
11
osx-dmg.sh
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user