From 3e37726d3b67058f30b150a7e4b5d5ea74b8dbd8 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Mon, 5 Feb 2024 17:46:54 +0100 Subject: switch to unzip-stream over unzipper 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! --- src/modules/mods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/mods.js') 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"); -- cgit v1.2.3