aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/packages.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/packages.js b/src/modules/packages.js
index f515dde..8d40de1 100644
--- a/src/modules/packages.js
+++ b/src/modules/packages.js
@@ -268,7 +268,9 @@ packages.extract = async (zip_path, name) => {
path: extract_dir
}
)).on("finish", () => {
- resolve(extract_dir);
+ setInterval(() => {
+ resolve(extract_dir);
+ }, 1000)
});
})
}