From c1269f62c86e8ab13c94f82e9956d798769b3255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=BChlberger?= Date: Tue, 16 Jun 2015 18:49:44 +0200 Subject: [PATCH] Add quotes around signing identity to allow spaces --- mac.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }) }