Not Exported
Resolves the token storage file path
Absolute path to token storage file
function getTokenFilePath(): string { const userDataPath = app.getPath("userData"); const dataPath = path.join(userDataPath, "data"); // Create directory if needed if (!fs.existsSync(dataPath)) { fs.mkdirSync(dataPath, { recursive: true }); } return path.join(dataPath, TOKEN_FILE);} Copy
function getTokenFilePath(): string { const userDataPath = app.getPath("userData"); const dataPath = path.join(userDataPath, "data"); // Create directory if needed if (!fs.existsSync(dataPath)) { fs.mkdirSync(dataPath, { recursive: true }); } return path.join(dataPath, TOKEN_FILE);}
Resolves the token storage file path