src/installer.js
function (options, dir, callback) {
  var iconFile = path.join(dir, getPixmapPath(options))
  options.logger('Creating icon file at ' + iconFile)

  fs.copy(options.icon, iconFile, function (err) {
    callback(err && new Error('Error creating icon file: ' + (err.message || err)))
  })
}
function (options, dir, callback) {
  var iconFile = path.join(dir, getPixmapPath(options))
  options.logger('Creating icon file at ' + iconFile)

  fs.copy(options.icon, iconFile, function (err) {
    callback(err && new Error('Error creating icon file: ' + (err.message || err)))
  })
}
function ( options , dir , callback ) { var iconFile = path . join ( dir , getPixmapPath ( options ) ) options . logger ( 'Creating icon file at ' + iconFile ) fs . copy ( options . icon , iconFile , function ( err ) { callback ( err && new Error ( 'Error creating icon file: ' + ( err . message || err ) ) ) } ) }
Create pixmap icon for the package.
Create pixmap icon for the package .