mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 00:58:32 +02:00
Fix nodejs vendoring
This commit is contained in:
@@ -35,7 +35,7 @@ rmSync(dstDir, {recursive: true, force: true});
|
|||||||
mkdirSync(dstDir, {recursive: true});
|
mkdirSync(dstDir, {recursive: true});
|
||||||
|
|
||||||
(async function () {
|
(async function () {
|
||||||
const key = `${process.platform}_${process.env.YAKK_TARGET_ARCH ?? process.arch}`;
|
const key = `${process.platform}_${process.env.YAAK_TARGET_ARCH ?? process.arch}`;
|
||||||
console.log('Vendoring NodeJS binary for', key);
|
console.log('Vendoring NodeJS binary for', key);
|
||||||
const url = URL_MAP[key];
|
const url = URL_MAP[key];
|
||||||
const tmpDir = path.join(__dirname, 'tmp', Date.now().toString());
|
const tmpDir = path.join(__dirname, 'tmp', Date.now().toString());
|
||||||
|
|||||||
Reference in New Issue
Block a user