summaryrefslogtreecommitdiff
path: root/branding/templates/osx/signbundle
diff options
context:
space:
mode:
Diffstat (limited to 'branding/templates/osx/signbundle')
-rw-r--r--branding/templates/osx/signbundle11
1 files changed, 11 insertions, 0 deletions
diff --git a/branding/templates/osx/signbundle b/branding/templates/osx/signbundle
new file mode 100644
index 0000000..58c42ae
--- /dev/null
+++ b/branding/templates/osx/signbundle
@@ -0,0 +1,11 @@
+#!/bin/sh
+# --------------------------------------------
+# Signs a RiseupVPN pkg file
+# Usage: signbundle <file> <version>
+#
+# Use it when you have built it in a
+# machine with no access to the certificates.
+# --------------------------------------------
+OSX_CERT="Developer ID Installer: LEAP Encryption Access Project"
+productsign --sign "$OSX_CERT" $1 $1-signed.pkg
+mv $1-signed.pkg ../dist/$applicationName-OSX-$2-signed.pkg