aboutsummaryrefslogtreecommitdiffstats
path: root/signdll.bash
diff options
context:
space:
mode:
authorPercy Wegmann2018-08-23 12:11:29 -0500
committerGitHub2018-08-23 12:11:29 -0500
commit3fd1443dac5c8297999189fe28d5836b2b075b66 (patch)
tree59cd6325d1b3b1fe9865854cfa936a54801ef072 /signdll.bash
parent62af9eb8030c168caa78856c967e6d2c4a7d813e (diff)
parenta5355ff39972108c64b8e3566107a72add0f5bbc (diff)
downloadsystray-3fd1443dac5c8297999189fe28d5836b2b075b66.tar.bz2
Merge pull request #56 from getlantern/amkulikov
Merge changes from amkulikov to remove DLL for windows
Diffstat (limited to 'signdll.bash')
-rwxr-xr-xsigndll.bash25
1 files changed, 0 insertions, 25 deletions
diff --git a/signdll.bash b/signdll.bash
deleted file mode 100755
index b621328..0000000
--- a/signdll.bash
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-function die() {
- echo $*
- exit 1
-}
-
-if [ -z "$BNS_CERT" ]
-then
- die "$0: Please set BNS_CERT to the bns signing certificate for windows"
-fi
-
-if [ -z "$BNS_CERT_PASS" ]
-then
- die "$0: Please set BNS_CERT_PASS to the password for the $BNS_CERT signing key"
-fi
-
-which osslsigncode > /dev/null
-if [ $? -ne 0 ]
-then
- echo "Installing osslsigncode"
- brew install osslsigncode || die "Could not install osslsigncode"
-fi
-osslsigncode sign -pkcs12 "$BNS_CERT" -pass "$BNS_CERT_PASS" -in dll/systray386.dll_unsigned -out dll/systray386.dll || die "Could not sign windows 386 dll"
-osslsigncode sign -pkcs12 "$BNS_CERT" -pass "$BNS_CERT_PASS" -in dll/systrayamd64.dll_unsigned -out dll/systrayamd64.dll || die "Could not sign windows 386 dll"