Update download scripts and folder name
This commit is contained in:
parent
57a029afa9
commit
8e6bd28e5f
@ -24,8 +24,7 @@ const downloadAndUntar = async (url, tgzName, dst) => {
|
|||||||
await tar.x({ file: tgzName, C: dst });
|
await tar.x({ file: tgzName, C: dst });
|
||||||
};
|
};
|
||||||
|
|
||||||
(async () => {
|
fs.mkdirSync('assets');
|
||||||
await downloadAndUntar(FFMPEG_TGZ_URL, FFMPEG_TGZ, 'assets/ffmpeg');
|
downloadAndUntar(FFMPEG_TGZ_URL, FFMPEG_TGZ, 'assets/ffmpeg');
|
||||||
await downloadAndUntar(UTIL_TGZ_URL, UTIL_TGZ, 'assets/util');
|
downloadAndUntar(UTIL_TGZ_URL, UTIL_TGZ, 'assets/util');
|
||||||
await downloadAndUntar(CORE_TGZ_URL, CORE_TGZ, 'assets/core');
|
downloadAndUntar(CORE_TGZ_URL, CORE_TGZ, 'assets/core');
|
||||||
})();
|
|
Loading…
Reference in New Issue
Block a user