Skip to content

Commit

Permalink
Updated native dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannicalo committed Apr 27, 2023
1 parent ec66d7c commit 5dd5296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install.js
Expand Up @@ -7,12 +7,12 @@ const extractZip = require("extract-zip");
(async () => {
const path = join(__dirname, "..", "libraries");
await mkdir(path, { recursive: true });
const response = await fetch("https://codeload.github.com/libjpeg-turbo/libjpeg-turbo/zip/refs/tags/2.1.4");
const response = await fetch("https://codeload.github.com/libjpeg-turbo/libjpeg-turbo/zip/refs/tags/2.1.5.1");
const filePath = join(path, "xxhash.zip");
await finished(Readable.fromWeb(response.body).pipe(createWriteStream(filePath)));
await extractZip(filePath, { dir: path });
rename(
join(path, "libjpeg-turbo-2.1.4"),
join(path, "libjpeg-turbo-2.1.5.1"),
join(path, "libjpeg-turbo")
);
unlink(filePath);
Expand Down

0 comments on commit 5dd5296

Please sign in to comment.