chore(nx/forge): add error logging for windows signing

This commit is contained in:
Elian Doran 2025-04-28 20:09:27 +03:00
parent 317d95fd60
commit 2ccbc100ec
No known key found for this signature in database

View File

@ -15,6 +15,9 @@ module.exports = function (filePath) {
const command = `${WINDOWS_SIGN_EXECUTABLE} --executable "${filePath}"`;
console.log(`[Sign] ${command}`);
const output = child_process.execSync(command);
console.log(`[Sign] ${output}`);
try {
child_process.execSync(command);
} catch (e) {
console.error("[Sign]", e.output.toString("utf-8"));
}
}