diff options
author | 0neGal <mail@0negal.com> | 2024-02-05 17:46:54 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2024-02-05 17:46:54 +0100 |
commit | 3e37726d3b67058f30b150a7e4b5d5ea74b8dbd8 (patch) | |
tree | a62f166b0dcde25bf5256faab71fd846f1d0efe6 /src/modules/mods.js | |
parent | 688fb4740a3602cbbc971b869130dbb7857f912b (diff) | |
download | Viper-3e37726d3b67058f30b150a7e4b5d5ea74b8dbd8.tar.gz Viper-3e37726d3b67058f30b150a7e4b5d5ea74b8dbd8.zip |
switch to unzip-stream over unzipperv1.11.0
unzipper apparently has a bug that causes extracted files to be
corrupted, switching to unzip-stream may not be the best long term, but
it at least solves this corrupting problem!
Diffstat (limited to 'src/modules/mods.js')
-rw-r--r-- | src/modules/mods.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/mods.js b/src/modules/mods.js index 9e3e81e..169e7b1 100644 --- a/src/modules/mods.js +++ b/src/modules/mods.js @@ -1,6 +1,6 @@ const path = require("path"); const fs = require("fs-extra"); -const unzip = require("unzipper"); +const unzip = require("unzip-stream"); const copy = require("recursive-copy"); const { https } = require("follow-redirects"); const { app, ipcMain, dialog } = require("electron"); |