Skip to content

Commit

Permalink
WIP: Silent failure in signWin.js
Browse files Browse the repository at this point in the history
Fixes #4582
  • Loading branch information
pierremtb committed Dec 11, 2024
1 parent 058fccb commit b5b03cf
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions sign-win.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,14 @@ exports.default = async (configuration) => {
)
}

try {
execSync(
`smctl sign --fingerprint="${
process.env.WINDOWS_CERTIFICATE_THUMBPRINT
}" --input "${String(configuration.path)}"`,
{
stdio: 'inherit',
}
)
console.log('Signing using signWin.js script: successful')
} catch (error) {
console.error('Signing using signWin.js script: failed:', error)
}
execSync(
`smctl sign --fingerprint="${
process.env.WINDOWS_CERTIFICATE_THUMBPRINT
}" --input "${String(configuration.path)}"`,
{
stdio: 'inherit',
}
)

console.log('Signing using signWin.js script: successful')
}

0 comments on commit b5b03cf

Please sign in to comment.