Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b7007f1

Browse files
committed
[cookie.firefox] fixes path on windows.
Signed-off-by: Eric Wang <skygragon@gmail.com>
1 parent 37c6f81 commit b7007f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugins/cookie.chrome.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var session = require('../session');
77

88
// [Usage]
99
//
10-
// TODO: still WIP
10+
// https://github.com/skygragon/leetcode-cli-plugins/blob/master/docs/cookie.chrome.md
1111
//
1212
var plugin = new Plugin(13, 'cookie.chrome', '2017.12.23',
1313
'Plugin to reuse Chrome\'s leetcode cookie.',

plugins/cookie.firefox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var session = require('../session');
66

77
// [Usage]
88
//
9-
// TODO: still WIP
9+
// https://github.com/skygragon/leetcode-cli-plugins/blob/master/docs/cookie.firefox.md
1010
//
1111
var plugin = new Plugin(13, 'cookie.firefox', '2017.12.28',
1212
'Plugin to reuse firefox\'s leetcode cookie.',
@@ -22,7 +22,7 @@ function getCookieFile(cb) {
2222
f = process.env.HOME + '/.mozilla/firefox/*.default*/cookies.sqlite';
2323
break;
2424
case 'win32':
25-
f = path.resolve(process.env.APPDATA || '', '/Local/Mozilla/Firefox/Profiles/*.default*/cookies.sqlite');
25+
f = path.resolve(process.env.APPDATA || '', '/Mozilla/Firefox/Profiles/*.default*/cookies.sqlite');
2626
break;
2727
}
2828
require('glob')(f, {}, cb);

0 commit comments

Comments
 (0)