We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84bc017 commit d3408b1Copy full SHA for d3408b1
1 file changed
scripts/install.js
@@ -9,7 +9,8 @@ if (process.env["NATIVE_IMAGE_DIFF_SKIP_BINARY_DOWNLOAD_FOR_CI"]) { return; }
9
// Get the version of the library;
10
const pkg = require(path.resolve(__dirname, "..", "package.json"));
11
const packageVersion = pkg.version;
12
-const url = `https://github.com/Prior99/native-image-diff/releases/download/${packageVersion}/${fileName.baseName}`;
+const binarySite = process.env.NID_BINARY_SITE || "https://github.com/Prior99/native-image-diff/releases/download";
13
+const url = `${binarySite}/${packageVersion}/${fileName.baseName}`;
14
15
console.info(`Downloading native-image-diff prebuilt binary from "${url}".`);
16
0 commit comments