fix: add runtime options

This commit is contained in:
Prateek Sunal 2024-02-13 21:16:16 +05:30
parent 5520ebf0ed
commit 2bc41d529b

View file

@ -122,7 +122,7 @@ jobs:
- name: Signing DMG
run: |
CERT_NAME=$(security find-identity -v -p codesigning | grep "Developer ID Application" | awk -F'"' '{print $2}' | grep -m1 "")
codesign --force --timestamp --sign "$CERT_NAME" $APP_NAME.dmg
codesign --force --timestamp --sign "$CERT_NAME" --options runtime $APP_NAME.dmg
codesign --verify --verbose=4 $APP_NAME.dmg
- name: Notarize and Staple DMG