code: function getAdditionalParams() {
              var retval = {};
              var installDir = FileUtils.getNativeBracketsDirectoryPath();
  
              if (installDir) {
                  var appPath = installDir.split("/Contents/www")[0];
                  installDir = appPath.substr(0, appPath.lastIndexOf('/'));
                  var appName = appPath.substr(appPath.lastIndexOf('/') + 1);
  
                  retval = {
                      installDir: installDir,
                      appName: appName,
                      updateDir: updateDir
                  };
              }
              return retval;
          }
docs: Get additional update parameters on Mac : installDir, appName, and updateDir