diff options
author | 0neGal <mail@0negal.com> | 2021-12-25 22:24:08 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2021-12-25 22:24:08 +0100 |
commit | 37679dc22b90eaf2a0f7153d9133f8aedf66d35c (patch) | |
tree | 7be14b05fcda44e3e23e5b14b73856a3b6cbcd70 /src/index.js | |
parent | 59bd6890cc825592f6070b24681f8314624cc21f (diff) | |
download | Viper-37679dc22b90eaf2a0f7153d9133f8aedf66d35c.tar.gz Viper-37679dc22b90eaf2a0f7153d9133f8aedf66d35c.zip |
basic updater/installer is now working
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 1 |
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(); }) |