File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -ex
4
+
5
+ osslsigncode \
6
+ -spc ~ /electron-api-demos.spc \
7
+ -key ~ /electron-api-demos.key \
8
+ -h sha1 \
9
+ -n ' Electron API Demos' \
10
+ -i http://electron.atom.io \
11
+ -t http://timestamp.verisign.com/scripts/timstamp.dll \
12
+ -in ' ./out/ElectronAPIDemos-win32-ia32/ElectronAPIDemos.exe' \
13
+ -out ' ./out/ElectronAPIDemos-win32-ia32/ElectronAPIDemosSigned.exe'
14
+
15
+ rm -fr ./out/ElectronAPIDemos-win32-ia32/ElectronAPIDemos.exe
16
+ mv ./out/ElectronAPIDemos-win32-ia32/ElectronAPIDemosSigned.exe ./out/ElectronAPIDemos-win32-ia32/ElectronAPIDemos.exe
17
+
18
+ osslsigncode \
19
+ -spc ~ /electron-api-demos.spc \
20
+ -key ~ /electron-api-demos.key \
21
+ -h sha256 \
22
+ -n ' Electron API Demos' \
23
+ -i http://electron.atom.io \
24
+ -t http://timestamp.verisign.com/scripts/timstamp.dll \
25
+ -nest \
26
+ -in ' ./out/ElectronAPIDemos-win32-ia32/ElectronAPIDemos.exe' \
27
+ -out ' ./out/ElectronAPIDemos-win32-ia32/ElectronAPIDemosSigned.exe'
28
+
29
+ rm -fr ./out/ElectronAPIDemos-win32-ia32/ElectronAPIDemos.exe
30
+ mv ./out/ElectronAPIDemos-win32-ia32/ElectronAPIDemosSigned.exe ./out/ElectronAPIDemos-win32-ia32/ElectronAPIDemos.exe
You can’t perform that action at this time.
0 commit comments