Merge branch 'master' of github.com:bitwarden/cli
This commit is contained in:
commit
f9cb8a7a31
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@bitwarden/cli",
|
"name": "@bitwarden/cli",
|
||||||
"version": "0.0.5",
|
"version": "0.1.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -10,11 +10,11 @@ export class LowdbStorageService implements StorageService {
|
||||||
constructor(appDirName: string) {
|
constructor(appDirName: string) {
|
||||||
let path = null;
|
let path = null;
|
||||||
if (process.platform === 'darwin') {
|
if (process.platform === 'darwin') {
|
||||||
path = process.env.HOME + 'Library/Application Support';
|
path = process.env.HOME + '/Library/Application Support';
|
||||||
} else if (process.platform === 'win32') {
|
} else if (process.platform === 'win32') {
|
||||||
path = process.env.APPDATA;
|
path = process.env.APPDATA;
|
||||||
} else {
|
} else {
|
||||||
path = process.env.HOME + '.config';
|
path = process.env.HOME + '/.config';
|
||||||
}
|
}
|
||||||
path += ('/' + appDirName + '/data.json');
|
path += ('/' + appDirName + '/data.json');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue