From 58cd6801c7272ced2bf0644c621baf24205e87b0 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Sun, 8 Jul 2018 23:07:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Testing=20another=20file=20for?= =?UTF-8?q?=20decompression?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/inflateFile.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inflateFile.ts b/src/inflateFile.ts index 46c7ae7..0cad854 100644 --- a/src/inflateFile.ts +++ b/src/inflateFile.ts @@ -1,7 +1,7 @@ import * as fs from 'fs'; import * as zlib from 'zlib'; -const fileReadStream = fs.createReadStream('/tmp/patcher/Assets/swtor_de-de_area_raid_1.tor'); +const fileReadStream = fs.createReadStream('/tmp/patcher/Assets/swtor_de-de_area_alderaan_1.tor'); const decompressTransform = zlib.createInflateRaw(); decompressTransform.on('error', (error) => { @@ -9,6 +9,6 @@ decompressTransform.on('error', (error) => { throw new Error(`Error during decompression: ${error.message}`); }); -const fileWriteStream = fs.createWriteStream('/tmp/patcher/Assets/swtor_de-de_area_raid_1.tor.raw'); +const fileWriteStream = fs.createWriteStream('/tmp/patcher/Assets/swtor_de-de_area_alderaan_1.tor.raw'); fileReadStream.pipe(decompressTransform).pipe(fileWriteStream);