aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
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();
})