mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 13:40:06 +00:00
Use dotnet tool run
This commit is contained in:
@@ -37,7 +37,7 @@ function SignExe {
|
||||
)
|
||||
|
||||
echo "Signing $exePath ..."
|
||||
azuresigntool sign -kvu $vaultUrl -kvi $clientId -kvt $tenantId -kvs $clientSecret -kvc $certName -tr $timestampService $exePath
|
||||
dotnet tool run azuresigntool sign -kvu $vaultUrl -kvi $clientId -kvt $tenantId -kvs $clientSecret -kvc $certName -tr $timestampService $exePath
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ exports.default = async function (configuration) {
|
||||
if (parseInt(process.env.ELECTRON_BUILDER_SIGN) === 1 && configuration.path.slice(-4) == ".exe") {
|
||||
console.log(`[*] Signing file: ${configuration.path}`);
|
||||
require("child_process").execSync(
|
||||
`azuresigntool sign -v ` +
|
||||
`dotnet tool run azuresigntool sign -v ` +
|
||||
`-kvu ${process.env.SIGNING_VAULT_URL} ` +
|
||||
`-kvi ${process.env.SIGNING_CLIENT_ID} ` +
|
||||
`-kvt ${process.env.SIGNING_TENANT_ID} ` +
|
||||
|
||||
Reference in New Issue
Block a user