Skip to content

Commit

Permalink
fix: try ad-hoc codesign
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Jan 13, 2024
1 parent 26fdb32 commit f3816f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .CI/CreateDMG.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ if [ -n "$MACOS_CODESIGN_CERTIFICATE" ]; then
echo "Codesigning force deep inside the app"
codesign -s "$MACOS_CODESIGN_CERTIFICATE" --deep --force chatterino.app
echo "Done!"
else
codesign --remove-signature chatterino.app
codesign -s - chatterino.app
fi

echo "Running dmgbuild.."
Expand All @@ -35,4 +38,7 @@ if [ -n "$MACOS_CODESIGN_CERTIFICATE" ]; then
echo "Codesigning the dmg"
codesign -s "$MACOS_CODESIGN_CERTIFICATE" --deep --force "$OUTPUT_DMG_PATH"
echo "Done!"
else
codesign --remove-signature "$OUTPUT_DMG_PATH"
codesign -s - "$OUTPUT_DMG_PATH"
fi

0 comments on commit f3816f9

Please sign in to comment.