Skip to content

Commit

Permalink
Force resigning the bundle after installation
Browse files Browse the repository at this point in the history
  • Loading branch information
nohal committed Jun 4, 2024
1 parent 8ffe937 commit e349c45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/generic-build-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ make install
make install # Dunno why the second is needed but it is, otherwise
# plugin data is not included in the bundle

# Make sure the code signatures are correct
codesign --force --deep --sign - /tmp/opencpn/bin/OpenCPN.app

make create-pkg
if [[ ! -z "${CREATE_DMG+x}" ]]; then
make create-dmg
Expand Down
3 changes: 3 additions & 0 deletions ci/universal-build-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ make install
make install # Dunno why the second is needed but it is, otherwise
# plugin data is not included in the bundle

# Make sure the code signatures are correct
codesign --force --deep --sign - /tmp/opencpn/bin/OpenCPN.app

dsymutil -o OpenCPN.dSYM /tmp/opencpn/bin/OpenCPN.app/Contents/MacOS/OpenCPN
tar czf OpenCPN-$(git rev-parse --short HEAD).dSYM.tar.gz OpenCPN.dSYM

Expand Down

0 comments on commit e349c45

Please sign in to comment.