1
1
mirror of https://github.com/neosubhamoy/neodlp.git synced 2026-05-06 19:45:50 +05:30

Update scripts/download-bins.js

Co-authored-by: Subhamoy Biswas <86715146+neosubhamoy@users.noreply.github.com>
This commit is contained in:
talynone
2026-04-28 02:51:29 -07:00
committed by GitHub
Unverified
parent a7ac5b07b4
commit b5b5946efa

View File

@@ -23,9 +23,9 @@ function getArchesForBin(bin) {
...((bin.archive && bin.archive.binDest) || []) ...((bin.archive && bin.archive.binDest) || [])
]; ];
const arches = new Set(); const arches = new Set();
for (const p of paths) { for (const path of paths) {
if (p.includes('-x86_64-') || p.includes('-x64-')) arches.add('x64'); if (path.includes('-x86_64-') || path.includes('-x64-')) arches.add('x64');
if (p.includes('-aarch64-') || p.includes('-arm64-')) arches.add('arm64'); if (path.includes('-aarch64-') || path.includes('-arm64-')) arches.add('arm64');
} }
return arches; return arches;
} }