mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
changing over to a value based boolean flag
This commit is contained in:
8
sign.js
8
sign.js
@@ -1,5 +1,11 @@
|
||||
exports.default = async function(configuration) {
|
||||
if (process.env.ELECTRON_BUILDER_SIGN) {
|
||||
|
||||
console.log('+++++++++++++++++++++++++++++++++++++++++++++++++++')
|
||||
console.log(`ELECTRON_BUILDER_SIGN: ${process.env.ELECTRON_BUILDER_SIGN}`)
|
||||
console.log(`Type: ${typeof process.env.ELECTRON_BUILDER_SIGN}`)
|
||||
console.log('+++++++++++++++++++++++++++++++++++++++++++++++++++')
|
||||
|
||||
if (process.env.ELECTRON_BUILDER_SIGN === 1) {
|
||||
require("child_process").execSync(
|
||||
`azuresigntool sign ` +
|
||||
`-kvu ${process.env.SIGNING_VAULT_URL} ` +
|
||||
|
||||
Reference in New Issue
Block a user