lib/app_pool.js
function detectConfig(appDir) {
    var config = {};
    var meteoriteUsed = fs.existsSync(path.resolve(appDir, './smart.json'));
    if(meteoriteUsed) {
      config.meteorite = true;
      config.nodeBinary = helpers.getMeteoriteNode(appDir);
    } else {
      config.meteorite = false;
      config.nodeBinary = helpers.getMeteorNode();
    }

    return config;
  }
function detectConfig(appDir) {
    var config = {};
    var meteoriteUsed = fs.existsSync(path.resolve(appDir, './smart.json'));
    if(meteoriteUsed) {
      config.meteorite = true;
      config.nodeBinary = helpers.getMeteoriteNode(appDir);
    } else {
      config.meteorite = false;
      config.nodeBinary = helpers.getMeteorNode();
    }

    return config;
  }
function detectConfig ( appDir ) { var config = { } ; var meteoriteUsed = fs . existsSync ( path . resolve ( appDir , './smart.json' ) ) ; if ( meteoriteUsed ) { config . meteorite = true ; config . nodeBinary = helpers . getMeteoriteNode ( appDir ) ; } else { config . meteorite = false ; config . nodeBinary = helpers . getMeteorNode ( ) ; } return config ; }
detect whether uses, meteor or meteorite and get the corret node version accordingly
detect whether uses meteor or meteorite and get the corret node version accordingly