fix: pass -y to 7z for extraction

This commit is contained in:
Amin Yahyaabadi 2022-05-17 13:57:29 -07:00
parent 3526010570
commit b1be34e87c
3 changed files with 3 additions and 3 deletions

2
dist/setup_cpp.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ let sevenZip: string | undefined
/// Extract 7z using 7z
export async function extract7Zip(file: string, dest: string) {
await execa(await getSevenZip(), ["x", file, `-o${dest}`], { stdio: "inherit" })
await execa(await getSevenZip(), ["x", file, `-o${dest}`, "-y"], { stdio: "inherit" })
return dest
}