|
@ -12,8 +12,8 @@ case $key in |
|
|
shift # past argument |
|
|
shift # past argument |
|
|
shift # past value |
|
|
shift # past value |
|
|
;; |
|
|
;; |
|
|
-z|--zcash_path) |
|
|
-c|--certificate) |
|
|
ZCASH_DIR="$2" |
|
|
CERTIFICATE="$2" |
|
|
shift # past argument |
|
|
shift # past argument |
|
|
shift # past value |
|
|
shift # past value |
|
|
;; |
|
|
;; |
|
@ -35,6 +35,11 @@ if [ -z $QT_PATH ]; then |
|
|
exit 1; |
|
|
exit 1; |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ -z $CERTIFICATE ]; then |
|
|
|
|
|
echo "CERTIFICATE is not set. Please set it the name of the MacOS developer certificate to sign the binary with"; |
|
|
|
|
|
exit 1; |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
if [ -z $APP_VERSION ]; then |
|
|
if [ -z $APP_VERSION ]; then |
|
|
echo "APP_VERSION is not set. Please set it to the current release version of the app"; |
|
|
echo "APP_VERSION is not set. Please set it to the current release version of the app"; |
|
|
exit 1; |
|
|
exit 1; |
|
@ -71,6 +76,7 @@ mkdir artifacts >/dev/null 2>&1 |
|
|
rm -f artifcats/zecwallet-lite.dmg >/dev/null 2>&1 |
|
|
rm -f artifcats/zecwallet-lite.dmg >/dev/null 2>&1 |
|
|
rm -f artifacts/rw* >/dev/null 2>&1 |
|
|
rm -f artifacts/rw* >/dev/null 2>&1 |
|
|
$QT_PATH/bin/macdeployqt zecwallet-lite.app |
|
|
$QT_PATH/bin/macdeployqt zecwallet-lite.app |
|
|
|
|
|
codesign --deep --force --verify --verbose -s "$CERTIFICATE" --options runtime --timestamp Zecwallet-Lite.app/ |
|
|
echo "[OK]" |
|
|
echo "[OK]" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|