1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-24 11:55:50 +01:00

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... # This task is not working...
- script: npx electron-builder --win --x64 --ia32 -p never -c.win.certificateSubjectName=\"Bitwarden Inc\" - script: npx electron-builder --win --x64 --ia32 -p never -c.win.certificateSubjectName=\"Bitwarden Inc\"
displayName: 'electron-builder package' displayName: 'electron-builder build & sign'
env: env:
CSC_LINK: $(ebSigningCertIdentifierURL) CSC_LINK: $(ebSigningCertIdentifierURL)
CSC_KEY_PASSWORD: $(ebSigningCertKey) CSC_KEY_PASSWORD: $(ebSigningCertKey)

View File

@ -185,7 +185,8 @@
"allowToChangeInstallationDirectory": true, "allowToChangeInstallationDirectory": true,
"artifactName": "${productName}-Installer-${version}.${ext}", "artifactName": "${productName}-Installer-${version}.${ext}",
"uninstallDisplayName": "${productName}", "uninstallDisplayName": "${productName}",
"deleteAppDataOnUninstall": true "deleteAppDataOnUninstall": true,
"sign": "./sign.js"
}, },
"portable": { "portable": {
"artifactName": "${productName}-Portable-${version}.${ext}" "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"
}
);
};