aboutsummaryrefslogtreecommitdiff
path: root/src/modules/packages.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/packages.js')
-rw-r--r--src/modules/packages.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/packages.js b/src/modules/packages.js
index fca0a44..d690824 100644
--- a/src/modules/packages.js
+++ b/src/modules/packages.js
@@ -333,7 +333,7 @@ packages.download = async (url, name) => {
return new Promise((resolve) => {
// download mod to a temporary location
https.get(url, (res) => {
- let tmp = path.join(app.getPath("cache"), "vipertmp");
+ let tmp = path.join(app.getPath("userData"), "Temp");
let zip_name = name || "package";
let zip_path = path.join(tmp, `${zip_name}.zip`);