use full path to executable on OS X

This commit is contained in:
Stephen Birarda 2015-12-03 13:59:26 -08:00
parent c01566bc04
commit 4bb187f77c

View file

@ -7,7 +7,7 @@ exports.discoveredPath = function (name, preferRelease) {
function platformExtension(name) {
if (name == "Interface") {
if (process.platform == "darwin") {
return ".app"
return ".app/Contents/MacOS/" + name
} else if (process.platform == "win32") {
return ".exe"
} else {