Skip to content

Commit

Permalink
setup-r win: need explicit gs dependency install first
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Mar 25, 2024
1 parent 0dce027 commit a83de20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup-r/lib/installer.js
Expand Up @@ -597,8 +597,8 @@ function acquireQpdfWindows() {
yield io.mv(dlpath, path.join(tempDirectory, "Ghostscipt.app.nupkg"));
dlpath = yield tc.downloadTool("https://github.com/r-lib/actions/releases/download/sysreqs/qpdf.nupkg");
yield io.mv(dlpath, path.join(tempDirectory, "qpdf.nupkg"));
yield exec.exec("choco", ["install", "autohotkey.portable", "--source", tempDirectory]);
yield exec.exec("choco", ["install", "Ghostscript.app", "qpdf", "--source", tempDirectory]);
;
}));
});
}
Expand Down
6 changes: 5 additions & 1 deletion setup-r/src/installer.ts
Expand Up @@ -569,10 +569,14 @@ async function acquireQpdfWindows() {
await io.mv(dlpath, path.join(tempDirectory, "Ghostscipt.app.nupkg"));
dlpath = await tc.downloadTool("https://github.com/r-lib/actions/releases/download/sysreqs/qpdf.nupkg");
await io.mv(dlpath, path.join(tempDirectory, "qpdf.nupkg"));
await exec.exec(
"choco",
["install", "autohotkey.portable", "--source", tempDirectory]
);
await exec.exec(
"choco",
["install", "Ghostscript.app", "qpdf", "--source", tempDirectory]
);;
);
})
}

Expand Down

0 comments on commit a83de20

Please sign in to comment.