Fix GNUtar path
This commit is contained in:
1 parent
cc292001eb
commit
e8091e7b94
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -14,7 +14,7 @@ async function getTarPath(
|
||||
switch (process.platform) {
|
||||
case 'win32': {
|
||||
const systemTar = `${process.env['windir']}\\System32\\tar.exe`
|
||||
const gnuTar = `${process.env['windir']}\\Program Files\\Git\\usr\\bin\\tar.exe`
|
||||
const gnuTar = `${process.env['PROGRAMFILES']}\\Git\\usr\\bin\\tar.exe`
|
||||
if (existsSync(gnuTar)) {
|
||||
// Making GNUtar + zstd as default on windows
|
||||
args.push('--force-local')
|
||||
|
||||
Reference in new issue
Block a user