mirror of
https://github.com/snobu/destreamer.git
synced 2026-03-11 14:38:26 +00:00
Compare commits
2 Commits
eb588f74a3
...
cb689336d8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb689336d8 | ||
|
|
deadd6758c |
14
README.md
14
README.md
@@ -57,19 +57,13 @@ Note that destreamer won't run in an elevated (Administrator/root) shell. Runnin
|
||||
## Can i plug in my own browser?
|
||||
|
||||
Yes, yes you can. This may be useful if your main browser has some authentication plugins that are required for you to logon to your Microsoft Stream tenant.
|
||||
To use your own browser for the authentication part, locate the following snippet in `src/destreamer.ts`:
|
||||
To use your own browser for the authentication part, locate the following snippet in `src/destreamer.ts` and `src/TokenCache.ts`:
|
||||
|
||||
```typescript
|
||||
const browser: puppeteer.Browser = await puppeteer.launch({
|
||||
executablePath: getPuppeteerChromiumPath(),
|
||||
headless: false,
|
||||
userDataDir: (argv.keepLoginCookies) ? chromeCacheFolder : undefined,
|
||||
args: [
|
||||
'--disable-dev-shm-usage',
|
||||
'--fast-start',
|
||||
'--no-sandbox'
|
||||
]
|
||||
});
|
||||
executablePath: getPuppeteerChromiumPath(),
|
||||
// …
|
||||
});
|
||||
```
|
||||
|
||||
Now, change `executablePath` to reflect the path to your browser and profile (i.e. to use Microsoft Edge on Windows):
|
||||
|
||||
Reference in New Issue
Block a user