chore: document user-data-dir
This commit is contained in:
parent
7a87e160ad
commit
3ca4c9851d
2 changed files with 13 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ async function userDataDir() {
|
|||
cacheDirectory = process.env.LOCALAPPDATA || path.join(os.homedir(), 'AppData', 'Local');
|
||||
else
|
||||
throw new Error('Unsupported platform: ' + process.platform);
|
||||
const result = path.join(cacheDirectory, 'ms-playwright', 'mcp-chromium-profile');
|
||||
const result = path.join(cacheDirectory, 'ms-playwright', 'mcp-chrome-profile');
|
||||
await fs.promises.mkdir(result, { recursive: true });
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue