From a085e04c4d3b72529f3ce8b6a14881749fbcb84b Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Thu, 3 Dec 2020 10:24:47 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B8=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=20=D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA=D0=B0=20Rar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/core/FileDecompressor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core/FileDecompressor.js b/server/core/FileDecompressor.js index 65000227..e3681acc 100644 --- a/server/core/FileDecompressor.js +++ b/server/core/FileDecompressor.js @@ -241,7 +241,7 @@ class FileDecompressor { async unRar(filename, outputDir) { try { - const args = ['e', '-y', filename, `${outputDir}/`]; + const args = ['x', '-p-', '-y', filename, `${outputDir}`]; const result = await utils.spawnProcess(this.rarPath, { killAfter: 60, args