testing electron-builder integration with az kv

This commit is contained in:
Joseph Flinn 2020-12-30 21:19:12 +00:00
parent b720106666
commit 623b325074
3 changed files with 14 additions and 2 deletions

View File

@ -27,7 +27,7 @@ steps:
# This task is not working...
- script: npx electron-builder --win --x64 --ia32 -p never -c.win.certificateSubjectName=\"Bitwarden Inc\"
displayName: 'electron-builder package'
displayName: 'electron-builder build & sign'
env:
CSC_LINK: $(ebSigningCertIdentifierURL)
CSC_KEY_PASSWORD: $(ebSigningCertKey)

View File

@ -185,7 +185,8 @@
"allowToChangeInstallationDirectory": true,
"artifactName": "${productName}-Installer-${version}.${ext}",
"uninstallDisplayName": "${productName}",
"deleteAppDataOnUninstall": true
"deleteAppDataOnUninstall": true,
"sign": "./sign.js"
},
"portable": {
"artifactName": "${productName}-Portable-${version}.${ext}"

11
sign.js Normal file
View File

@ -0,0 +1,11 @@
exports.default = async function(configuration) {
require("child_process").execSync(
`echo
"${configuration}"
`,
{
stdio: "inherit"
}
);
};