added all files

This commit is contained in:
DJj123dj
2021-11-14 09:12:55 +01:00
commit 918f5f4243
2793 changed files with 298038 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
var fs = require('fs')
var 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
}
}