mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
only signing .exe
This commit is contained in:
3
sign.js
3
sign.js
@@ -1,6 +1,5 @@
|
|||||||
exports.default = async function(configuration) {
|
exports.default = async function(configuration) {
|
||||||
if (parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1) {
|
if (parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1 && configuration.path.slice(-4) == ".exe") {
|
||||||
console.log(`[++] File to sign: ${configuration.path}`)
|
|
||||||
require("child_process").execSync(
|
require("child_process").execSync(
|
||||||
`azuresigntool sign ` +
|
`azuresigntool sign ` +
|
||||||
`-kvu ${process.env.SIGNING_VAULT_URL} ` +
|
`-kvu ${process.env.SIGNING_VAULT_URL} ` +
|
||||||
|
|||||||
Reference in New Issue
Block a user