build: Sign mac installer

This commit is contained in:
Róbert Kiss
2018-02-24 23:12:01 +01:00
parent 2eaa1e0634
commit c3e712851c
5 changed files with 5 additions and 23 deletions

View File

@@ -83,8 +83,8 @@ if (process.platform === 'darwin') {
}
if (process.platform === 'darwin') {
// TODO: Remove comment when macOS certificates boughted and exported
//require('./setup-macos-keychain').registerKeyChain();
exec('openssl aes-256-cbc -K $CERT_KEY -iv $CERT_IV -in scripts/certs/mac-cert.p12.enc -out scripts/certs/mac-cert.p12 -d')
process.env.CSC_LINK = path.join(__dirname, 'certs/mac-cert.p12');
}
if (TEST_BUILD || gitTag) {