MaxMelcher / AzureDevOps.WikiPDFExport

Export Azure DevOps Wiki to PDF
MIT License
186 stars 62 forks source link

Use local temp folder to download chromium headless #124

Closed Zhaph closed 1 year ago

Zhaph commented 1 year ago

The current behaviour of the BrowserFetcher class tends to leave instances of the headless chromium browser in a .localchromium folder relative to the directory the application is called from.

This PR updates the BrowserFetcher to take a BrowserFetcherOptions that specifies a directory in the user's local temp folder.

I've also updated the Help text on the chromePath option to remove the statement about only used if the Mermaid switch is enabled as this is not true.

Fixes #121

MaxMelcher commented 1 year ago

Thanks @Zhaph!