This commit is contained in:
Wliu
2017-01-24 23:41:30 -05:00
parent 86b8f67879
commit 7bb08e39f3
17 changed files with 24 additions and 37 deletions

View File

@@ -10,8 +10,9 @@ module.exports = function (packagedAppPath) {
return
}
// This declaration is outside of the try block because it is also used for the finally block
const certPath = path.join(os.tmpdir(), 'mac.p12')
try {
const certPath = path.join(os.tmpdir(), 'mac.p12')
downloadFileFromGithub(process.env.ATOM_MAC_CODE_SIGNING_CERT_DOWNLOAD_URL, certPath)
console.log(`Unlocking keychain ${process.env.ATOM_MAC_CODE_SIGNING_KEYCHAIN}`)