look for correct name on OS X

This commit is contained in:
Stephen Birarda 2016-01-20 09:33:01 -08:00
parent fdeb00d4c2
commit c251267c02

View file

@ -35,6 +35,11 @@ exports.searchPaths = function(name, binaryType) {
// assume we're inside an app bundle on OS X
if (process.platform == "darwin") {
// this is a production build - on OS X Interface will be called High Fidelity
if (name == "Interface") {
name = "High Fidelity";
}
var contentPath = ".app/Contents/";
var contentEndIndex = __dirname.indexOf(contentPath);