From b4a36dbfd2a7e925c5cbd90bcc889f8f7d5f36dd Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Fri, 15 Jan 2021 16:18:14 +0000 Subject: [PATCH] only signing .exe --- sign.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sign.js b/sign.js index 8639b9b606..456de36a96 100644 --- a/sign.js +++ b/sign.js @@ -1,6 +1,5 @@ exports.default = async function(configuration) { - if (parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1) { - console.log(`[++] File to sign: ${configuration.path}`) + if (parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1 && configuration.path.slice(-4) == ".exe") { require("child_process").execSync( `azuresigntool sign ` + `-kvu ${process.env.SIGNING_VAULT_URL} ` +