From e8c0ee631c60efce1d15cb5e1bc242c045288ce9 Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Sun, 19 Jan 2025 17:36:54 -0800 Subject: [PATCH] fix --- void-application/mac-sign.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/void-application/mac-sign.sh b/void-application/mac-sign.sh index 738dc1c1..c9c4632e 100755 --- a/void-application/mac-sign.sh +++ b/void-application/mac-sign.sh @@ -86,9 +86,6 @@ sign() { # We don't even have to codesign - apparently create-dmg does it! codesign --deep --options runtime --sign "${CODESIGN_IDENTITY}" "${SIGNED_DMG}" create codesign --verify --verbose=4 "${SIGNED_DMG}" - echo "-------------------- 2c. zip .app --------------------" - - } @@ -124,10 +121,10 @@ notarize(){ updater(){ + cd "${SIGNED_DOTAPP_DIR}" echo "Zipping updater here..." - ZIP_NAME="Void-Updater-darwin-${ARCH}.zip" - zip -r -q "${ZIP_NAME}" "${SIGNED_DOTAPP}" - mv "${ZIP_NAME}" "${SIGNED_DOTAPP_DIR}" + VOIDAPP=$(basename $SIGNED_DOTAPP) + zip -r -q "Void-Updater-darwin-${ARCH}.zip" "${VOIDAPP}" echo "Done!" }