mirror of
https://github.com/bitwarden/desktop.git
synced 2024-12-28 17:18:24 +01:00
excluding the unpacked appx executables
This commit is contained in:
parent
b4a36dbfd2
commit
429b0abf42
6
sign.js
6
sign.js
@ -1,5 +1,9 @@
|
||||
exports.default = async function(configuration) {
|
||||
if (parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1 && configuration.path.slice(-4) == ".exe") {
|
||||
if (
|
||||
parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1 &&
|
||||
configuration.path.slice(-4) == ".exe" &&
|
||||
!(configuration.path.includes('win-unpacked') || configuration.path.includes('win-ia32-unpacked'))
|
||||
) {
|
||||
require("child_process").execSync(
|
||||
`azuresigntool sign ` +
|
||||
`-kvu ${process.env.SIGNING_VAULT_URL} ` +
|
||||
|
Loading…
Reference in New Issue
Block a user