Use custom 7zr

This commit is contained in:
Danny McCormick 2019-06-05 13:22:04 -04:00
parent d7b6952411
commit a78e5a55c8
8 changed files with 78 additions and 39 deletions

View file

@ -174,8 +174,8 @@ async function acquireNode(version: string): Promise<string> {
//
let extPath: string;
if (osPlat == 'win32') {
let _7zPath = path.join(__dirname, '7zr.exe');
extPath = await tc.extract7z(downloadPath);
let _7zPath = path.join(__dirname, '..', 'externals', '7zr.exe');
extPath = await tc.extract7z(downloadPath, undefined, _7zPath);
} else {
extPath = await tc.extractTar(downloadPath);
}