We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84bc017 + fbf3545 commit be1faa5Copy full SHA for be1faa5
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 baseUrl = process.env.NATIVE_IMAGE_DIFF_BINARY_URL || "https://github.com/Prior99/native-image-diff/releases/download";
13
+const url = `${baseUrl}/${packageVersion}/${fileName.baseName}`;
14
15
console.info(`Downloading native-image-diff prebuilt binary from "${url}".`);
16
0 commit comments