diff options
Diffstat (limited to 'node_modules/ffmpeg-static/index.js')
| -rw-r--r-- | node_modules/ffmpeg-static/index.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/node_modules/ffmpeg-static/index.js b/node_modules/ffmpeg-static/index.js deleted file mode 100644 index acaf018..0000000 --- a/node_modules/ffmpeg-static/index.js +++ /dev/null @@ -1,22 +0,0 @@ -var os = require('os') -var path = require('path') - -var binaries = Object.assign(Object.create(null), { - darwin: ['x64'], - linux: ['x64', 'ia32', 'arm64', 'arm'], - win32: ['x64', 'ia32'] -}) - -var platform = os.platform() -var arch = os.arch() - -var ffmpegPath = path.join( - __dirname, - platform === 'win32' ? 'ffmpeg.exe' : 'ffmpeg' -) - -if (!binaries[platform] || binaries[platform].indexOf(arch) === -1) { - ffmpegPath = null -} - -module.exports = ffmpegPath |