From 429b0abf42e03a5983b9dedfc39215f573e15956 Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Fri, 15 Jan 2021 17:19:34 +0000 Subject: [PATCH] excluding the unpacked appx executables --- sign.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sign.js b/sign.js index 456de36a..509902be 100644 --- a/sign.js +++ b/sign.js @@ -1,5 +1,9 @@ exports.default = async function(configuration) { - if (parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1 && configuration.path.slice(-4) == ".exe") { + if ( + parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1 && + configuration.path.slice(-4) == ".exe" && + !(configuration.path.includes('win-unpacked') || configuration.path.includes('win-ia32-unpacked')) + ) { require("child_process").execSync( `azuresigntool sign ` + `-kvu ${process.env.SIGNING_VAULT_URL} ` +