mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-24 01:38:26 +02:00
Update vendor scripts again
This commit is contained in:
@@ -57,9 +57,6 @@ mkdirSync(destDir, {recursive: true});
|
|||||||
// Decompress to the same directory
|
// Decompress to the same directory
|
||||||
await decompress(filePath, tmpDir, {});
|
await decompress(filePath, tmpDir, {});
|
||||||
|
|
||||||
// Remove the original archive
|
|
||||||
rmSync(filePath);
|
|
||||||
|
|
||||||
// Copy binary
|
// Copy binary
|
||||||
const binSrc = path.join(tmpDir, SRC_BIN_MAP[key]);
|
const binSrc = path.join(tmpDir, SRC_BIN_MAP[key]);
|
||||||
cpSync(binSrc, binDest);
|
cpSync(binSrc, binDest);
|
||||||
|
|||||||
@@ -46,9 +46,6 @@ mkdirSync(dstDir, {recursive: true});
|
|||||||
// Decompress to the same directory
|
// Decompress to the same directory
|
||||||
await decompress(filePath, tmpDir, {});
|
await decompress(filePath, tmpDir, {});
|
||||||
|
|
||||||
// Remove the original archive
|
|
||||||
rmSync(filePath);
|
|
||||||
|
|
||||||
// Copy binary
|
// Copy binary
|
||||||
const binSrc = path.join(tmpDir, SRC_BIN_MAP[key]);
|
const binSrc = path.join(tmpDir, SRC_BIN_MAP[key]);
|
||||||
const binDst = path.join(dstDir, DST_BIN_MAP[key]);
|
const binDst = path.join(dstDir, DST_BIN_MAP[key]);
|
||||||
|
|||||||
Reference in New Issue
Block a user