chore: add running windows desktop signing on windows hosted machine (#2615)
* chore: add running windows desktop signing on windows hosted machine * check if app version is set properly * check env var setting * check 3 * fix version setting * temprorary remove the windows signing * fix: restore electron sign properties * digicert signing * fix keypair name * fix set output steps * fix: reusable workflow
This commit is contained in:
@@ -1,16 +1,7 @@
|
||||
exports.default = async function (configuration) {
|
||||
require('child_process').execSync(
|
||||
`java \
|
||||
-jar jsign/jsign-4.1.jar \
|
||||
--keystore jsign/eToken.cfg \
|
||||
--storepass "${process.env.WINDOWS_TOKEN_PASSWORD}" \
|
||||
--storetype PKCS11 \
|
||||
--tsaurl http://timestamp.digicert.com \
|
||||
--alias "${process.env.WINDOWS_TOKEN_ALIAS}" \
|
||||
"${configuration.path}"
|
||||
`,
|
||||
{
|
||||
stdio: 'inherit',
|
||||
},
|
||||
)
|
||||
}
|
||||
exports.default = async function(configuration) {
|
||||
if(configuration.path){
|
||||
require("child_process").execSync(
|
||||
`smctl sign --keypair-alias=snkeypair --input "${String(configuration.path)}"`
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user