From 06c4b4c65cbe5515c3e40f541016a3b6b65d8ea8 Mon Sep 17 00:00:00 2001 From: "J.B. Langston" Date: Tue, 31 Mar 2020 21:06:22 -0500 Subject: [PATCH] Add code signing for mac --- tools/deploy-mac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/deploy-mac b/tools/deploy-mac index 193b2257..d5cd6cb1 100755 --- a/tools/deploy-mac +++ b/tools/deploy-mac @@ -12,4 +12,8 @@ mkdir bin/XaoS.app/Contents/Resources/examples/ cp examples/*/* bin/XaoS.app/Contents/Resources/examples/ cp -R catalogs bin/XaoS.app/Contents/Resources/ cp -R tutorial bin/XaoS.app/Contents/Resources/ -$MACDEPLOYQT bin/XaoS.app -dmg +if [ -z "$1" ]; then + $MACDEPLOYQT bin/XaoS.app -dmg +else + $MACDEPLOYQT bin/XaoS.app -dmg -codesign="$1" +fi