aboutsummaryrefslogtreecommitdiff
path: root/src/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.js')
-rw-r--r--src/utils.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/utils.js b/src/utils.js
index eb9f195..e63297e 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -720,14 +720,6 @@ const mods = {
let stream = fs.createWriteStream(modlocation);
res.pipe(stream);
- // let received = 0;
- // // Progress messages, we should probably switch this to
- // // percentage instead of how much is downloaded.
- // res.on("data", (chunk) => {
- // received += chunk.length;
- // ipcMain.emit("ns-update-event", lang("gui.update.downloading") + " " + (received / 1024 / 1024).toFixed(1) + "mb");
- // })
-
stream.on("finish", () => {
stream.close();
mods.install(modlocation);