-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdata.js
37 lines (33 loc) · 948 Bytes
/
data.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import dotenv from 'dotenv';
dotenv.config();
/**
* Try not to change anything below, if you don't know what are you messing with!
*
*
*
*
*
*
*
*
*
*
*/
export const GOOGLE_CHROME_EXECUTABLE_PATH = process.env.GOOGLE_CHROME_EXECUTABLE_PATH || "C:/Program Files/Google/Chrome/Application/chrome.exe";
export const USER_EMAIL = process.env.USER_EMAIL || '[email protected]';
/**
* Chrome Profile directory
*/
export const CHROME_PROFILE_PATH = `./UserData/${USER_EMAIL}/ProfileData`;
/**
* User Leetcode Data Directory
*/
export const LEETCODER_DATA_PATH = `./UserData/${USER_EMAIL}/LeetcoderData`;
/**
* User Leetcode Data Directory
*/
export const LEETCODER_SCRAPED_SOLUTIONS_PATH = `${LEETCODER_DATA_PATH}/ScrapedSolutions`;
/**
* Solved Problems are stored in this location so that the bot can continue solving from the unsolved problems.
*/
export const SOLVED_PROBLEMS_PATH = `${LEETCODER_DATA_PATH}/SolvedProblems.json`;