File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- export OSSLSIGNCODE_SIGNARGS=' -pkcs11module /Library/Frameworks/eToken.framework/Versions/Current/libeToken.dylib -pkcs11engine /usr/local/lib/engines/engine_pkcs11.so -certs " electron_app/riot.im/New Vector Ltd .pem" -key 0a3271cbc1ec0fd8afb37f6bbe0cd65ba08d3b4d -t " http://timestamp.comodoca.com" -h sha256 -verbose'
1+ export OSSLSIGNCODE_SIGNARGS=' -pkcs11module /Library/Frameworks/eToken.framework/Versions/Current/libeToken.dylib -pkcs11engine /usr/local/lib/engines/engine_pkcs11.so -certs electron_app/riot.im/New_Vector_Ltd .pem -key 0a3271cbc1ec0fd8afb37f6bbe0cd65ba08d3b4d -t http://timestamp.comodoca.com -h sha256 -verbose'
Original file line number Diff line number Diff line change @@ -169,8 +169,13 @@ cp $distdir/*_amd64.deb "$projdir/electron_app/dist/"
169169# is signed in the electron afteSign hook)
170170echo " Signing Windows installers..."
171171
172- osslsigncode sign $OSSLSIGNCODE_SIGNARGS -pass " $token_password " -in " $distdir /squirrel-windows-ia32/*.exe" -out " $projdir /electron_app/dist/unsigned/ia32/"
173- osslsigncode sign $OSSLSIGNCODE_SIGNARGS -pass " $token_password " -in " $distdir /squirrel-windows/*.exe" -out " $projdir /electron_app/dist/unsigned/x64/"
172+ exe32=( " $distdir " /squirrel-windows-ia32/* .exe )
173+ basename32=` basename " $exe32 " `
174+ osslsigncode sign $OSSLSIGNCODE_SIGNARGS -pass " $token_password " -in " $exe32 " -out " $projdir /electron_app/pub/install/win32/ia32/$basename32 "
175+
176+ exe64=( " $distdir " /squirrel-windows/* .exe )
177+ basename64=` basename " $exe64 " `
178+ osslsigncode sign $OSSLSIGNCODE_SIGNARGS -pass " $token_password " -in " $exe64 " -out " $projdir /electron_app/pub/install/win32/x64/$basename64 "
174179
175180echo " Installers signed"
176181
You can’t perform that action at this time.
0 commit comments