[geany/geany-osx] e74e03: Sign installation image

Jiří Techet git-noreply at xxxxx
Thu Jun 23 18:39:19 UTC 2016


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Thu, 23 Jun 2016 18:39:19 UTC
Commit:      e74e0325972b68bd660c2be196ad274e6c8dc8b0
             https://github.com/geany/geany-osx/commit/e74e0325972b68bd660c2be196ad274e6c8dc8b0

Log Message:
-----------
Sign installation image

This is needed for macOS 10.12 so resource path randomization
doesn't happen when launched outside /Application.


Modified Paths:
--------------
    README.md
    create_dmg.sh

Modified: README.md
3 lines changed, 2 insertions(+), 1 deletions(-)
===================================================================
@@ -193,7 +193,8 @@ Distribution
 	./create_dmg.sh
 	```
 
-	from within the geany-osx directory.
+	from within the geany-osx directory. If the APPLICATION_CERT variable is
+	defined, the image gets signed by the specified certificate.
 
 Maintenance
 -----------


Modified: create_dmg.sh
5 lines changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -26,3 +26,8 @@ create-dmg \
 "$TMPDIR"
 
 rm -rf "${TMPDIR}"
+
+if [ -n "$APPLICATION_CERT" ]
+then
+	codesign -s "$APPLICATION_CERT" "$DMGNAME"
+fi



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list