From d5754d6a588ad906c7af2ec4b944eb4d21fda60e Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 23 Feb 2018 17:16:00 -0500 Subject: [PATCH] use appdata folder --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index d2aa0148c36..a5458c77ec4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -33,7 +33,7 @@ export class Main { } else if (process.platform === 'win32' && process.env.PORTABLE_EXECUTABLE_DIR != null) { appDataPath = path.join(process.env.PORTABLE_EXECUTABLE_DIR, 'bitwarden-appdata'); } else if (process.platform === 'linux' && process.env.SNAP_USER_DATA != null) { - appDataPath = process.env.SNAP_USER_DATA; + appDataPath = path.join(process.env.SNAP_USER_DATA, 'appdata'); } if (appDataPath != null) {