Skip to content

Commit

Permalink
Update run.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Apr 11, 2024
1 parent ce14488 commit c2a7b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async function generate() {
const url = `https://github.com/git-for-windows/git/releases/download/v${gfwVersion}/${filename}`;
console.debug("url", url);
const response = await fetch(url);
const dest = resolve(`out/${filename}`);
const dest = "PortableGit-64-bit.7z.exe";
await mkdir(dirname(dest), { recursive: true });
await response.body.pipeTo(Writable.toWeb(createWriteStream(dest)));
console.log("downloaded %o to %o", url, dest);
Expand Down

0 comments on commit c2a7b14

Please sign in to comment.