diff --git a/mac.js b/mac.js index b125c74..b3a5a3e 100644 --- a/mac.js +++ b/mac.js @@ -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) }) }