diff --git a/src/cluster.ts b/src/cluster.ts index 9caa9ff..44ea5a6 100644 --- a/src/cluster.ts +++ b/src/cluster.ts @@ -122,7 +122,11 @@ export class Cluster { console.log(`${colors.green('downloading')} ${colors.underline(file.path)}`) } let lastProgress = 0 - const res = await this.got.get(file.path.substring(1)) + const res = await this.got.get(file.path.substring(1), { + searchParams: { + noopen: process.env.FORCE_NOOPEN === 'true' ? 1 : '', + }, + }) .on('downloadProgress', (progress) => { bar.tick(progress.transferred - lastProgress) lastProgress = progress.transferred