getExecPathRelativeToPackage = function (manifest) {
    var execPath = manifest.packages[platform] && manifest.packages[platform].execPath;

    if (execPath) {
      return execPath;
    }
    else {
      var suffix = {
        win: '.exe',
        mac: '.app'
      };
      return manifest.name + (suffix[platform] || '');
    }
  }
@private
@param {object} manifest
@return {string}