feat: only download libraries if not present
This commit is contained in:
parent
5b0bd8a73e
commit
46c85401e5
1 changed files with 4 additions and 1 deletions
|
|
@ -28,7 +28,10 @@ export async function LibrariesDownloader(
|
|||
) {
|
||||
const libs = getLibraries(versionManifest, librariesRoot);
|
||||
|
||||
const dPool = new DownloadPool(libs, { pQueueOptions: { concurrency: 5 } });
|
||||
const dPool = new DownloadPool(libs, {
|
||||
pQueueOptions: { concurrency: 5 },
|
||||
overwrite: false,
|
||||
});
|
||||
|
||||
return dPool;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue