1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-24 11:55:50 +01:00

use appdata folder

This commit is contained in:
Kyle Spearrin 2018-02-23 17:16:00 -05:00
parent 6719d4d3f0
commit d5754d6a58

View File

@ -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) {