aboutsummaryrefslogtreecommitdiff
path: root/src/utils.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-05-16 00:21:59 +0200
committerGitHub <noreply@github.com>2022-05-16 00:21:59 +0200
commitdee10ac8d1d361f51ce316539e45b8a4197c8ad9 (patch)
treebbe9c068cf0d851e8baba973a903de617474107f /src/utils.js
parent108c7b97100d2a40e82f8196109c99d1d59b59ee (diff)
parent9724d433ebba9c323236078eeb87f3e5f5dc3e6d (diff)
downloadViper-dee10ac8d1d361f51ce316539e45b8a4197c8ad9.tar.gz
Viper-dee10ac8d1d361f51ce316539e45b8a4197c8ad9.zip
Merge pull request #122 from 0neGal/dependency-supportbetter-browser
feat: Dependency support
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);