Skip to content

Commit

Permalink
Use full tar.exe path
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed May 15, 2024
1 parent c31fa91 commit 2526dac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gui/standalone-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ async function main() {

function getTarBin() {
if (process.platform === 'win32') {
if (process.env.windir) {
return path.join(process.env.windir, 'System32', 'tar.exe');
}
return 'tar.exe';
} else {
return 'tar';
Expand Down

0 comments on commit 2526dac

Please sign in to comment.