Skip to content

Commit feda6ac

Browse files
committed
Added Ad-hoc code signing
1 parent 50ca0c2 commit feda6ac

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/macos-dmg.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,14 @@ jobs:
304304
echo 'self-contained app:' || true
305305
ls -R 'dist/SSH Studio.app/Contents' || true
306306
307+
- name: Ad-hoc codesign app bundle
308+
run: |
309+
set -euxo pipefail
310+
APP="dist/SSH Studio.app"
311+
# Deep ad-hoc sign the app and embedded content to improve launch reliability
312+
codesign --force --deep --sign - --timestamp=none "$APP"
313+
codesign --verify --deep --verbose=2 "$APP" || (codesign --display --verbose=5 "$APP"; exit 1)
314+
307315
308316
- name: Create DMG
309317
run: |

0 commit comments

Comments
 (0)