mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-28 12:35:40 +01:00
only signing .exe
This commit is contained in:
parent
404e4130da
commit
b4a36dbfd2
3
sign.js
3
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} ` +
|
||||
|
Loading…
Reference in New Issue
Block a user