Add quotes around signing identity to allow spaces

This commit is contained in:
Markus Mühlberger 2015-06-16 18:49:44 +02:00
parent 81340093ee
commit c1269f62c8
1 changed files with 1 additions and 1 deletions

2
mac.js
View File

@ -117,7 +117,7 @@ function buildMacApp (opts, cb, newApp) {
if (!opts.sign) return cb(null, appPath)
child.exec('codesign --deep --force --sign ' + opts.sign + ' ' + appPath, function (err, stdout, stderr) {
child.exec('codesign --deep --force --sign "' + opts.sign + '" ' + appPath, function (err, stdout, stderr) {
cb(err, appPath)
})
}