mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
parent
916ff3ae31
commit
8e575efca6
1 changed files with 0 additions and 14 deletions
|
@ -1,14 +0,0 @@
|
|||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const CONFIG_PATH = path.resolve('./FFMpegCore.Test/ffmpeg.config.json');
|
||||
|
||||
console.log('--- Configuring ffmpeg binary path for:', process.env.TRAVIS_OS_NAME);
|
||||
|
||||
let data = require(CONFIG_PATH);
|
||||
|
||||
data.RootDirectory = process.env.TRAVIS_OS_NAME === 'linux' ?
|
||||
'/usr/bin' :
|
||||
'/usr/local/bin';
|
||||
|
||||
fs.writeFileSync(CONFIG_PATH, JSON.stringify(data, null, 4));
|
Loading…
Reference in a new issue