aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2021-12-25 22:24:08 +0100
committer0neGal <mail@0negal.com>2021-12-25 22:24:08 +0100
commit37679dc22b90eaf2a0f7153d9133f8aedf66d35c (patch)
tree7be14b05fcda44e3e23e5b14b73856a3b6cbcd70 /src/index.js
parent59bd6890cc825592f6070b24681f8314624cc21f (diff)
downloadViper-37679dc22b90eaf2a0f7153d9133f8aedf66d35c.tar.gz
Viper-37679dc22b90eaf2a0f7153d9133f8aedf66d35c.zip
basic updater/installer is now working
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index 50f2b6e..ebea48f 100644
--- a/src/index.js
+++ b/src/index.js
@@ -19,6 +19,7 @@ function start() {
}
app.on("ready", () => {
+ process.chdir(app.getPath("appData"));
app.setPath("userData", path.join(app.getPath("cache"), app.name));
start();
})