Поправки параметров запуска Rar
This commit is contained in:
@@ -241,7 +241,7 @@ class FileDecompressor {
|
|||||||
|
|
||||||
async unRar(filename, outputDir) {
|
async unRar(filename, outputDir) {
|
||||||
try {
|
try {
|
||||||
const args = ['e', '-y', filename, `${outputDir}/`];
|
const args = ['x', '-p-', '-y', filename, `${outputDir}`];
|
||||||
const result = await utils.spawnProcess(this.rarPath, {
|
const result = await utils.spawnProcess(this.rarPath, {
|
||||||
killAfter: 60,
|
killAfter: 60,
|
||||||
args
|
args
|
||||||
|
|||||||
Reference in New Issue
Block a user