mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-16 13:41:15 +01:00
NODE_ARCH -> YAAK_TARGET_ARCH
This commit is contained in:
1 parent
3a0b647ce4
commit
5cfd208c23
3 files changed
+7
-7
No files matched your search
@@ -35,7 +35,7 @@ rmSync(dstDir, {recursive: true, force: true});
|
||||
mkdirSync(dstDir, {recursive: true});
|
||||
|
||||
(async function () {
|
||||
const key = `${process.platform}_${process.env.NODE_ARCH ?? process.arch}`;
|
||||
const key = `${process.platform}_${process.env.YAKK_TARGET_ARCH ?? process.arch}`;
|
||||
console.log('Vendoring NodeJS binary for', key);
|
||||
const url = URL_MAP[key];
|
||||
const tmpDir = path.join(__dirname, 'tmp', new Date().toISOString());
|
||||
|
||||
@@ -36,7 +36,7 @@ rmSync(dstDir, {recursive: true, force: true});
|
||||
mkdirSync(dstDir, {recursive: true});
|
||||
|
||||
(async function () {
|
||||
const key = `${process.platform}_${process.env.NODE_ARCH ?? process.arch}`;
|
||||
const key = `${process.platform}_${process.env.YAAK_TARGET_ARCH ?? process.arch}`;
|
||||
const url = URL_MAP[key];
|
||||
const tmpDir = path.join(__dirname, 'tmp', new Date().toISOString());
|
||||
|
||||
|
||||
Reference in new issue
Block a user