When you run the azuredevops-export-wiki it leaves a .localchromium folder in the current path of the command line.
I've added the executable to my path so that it's accessible to a number of project wikis, so I'm being left with multiple copies of the headless chromium browser.
Path of the chrome or chromium executable. It'll be used if mermaid diagrams support is turned on (-m/--mermaid). If not specified, a headless version will be downloaded.
I'm not generally specifying -m but looking at the code for the PdfGenerator class that switch isn't part of the check when downloading these libraries.
Seeing as Puppeteer is storing this by default in the current directory, rather than actually determining where the binaries are located, could you either:
Pass a [BrowserFetcherOptions](https://www.puppeteersharp.com/api/PuppeteerSharp.BrowserFetcherOptions.html) object into the BrowserFetcher with Path set to the assembly root.
Pass a BrowserFetcherOptions object into the BrowserFetcher with Path set to Path.Join(Path.GetTempPath(), "AzureDevOpsExportWiki") or similar
Also recommend updating the documentation on the ChromePath option to remove the reference to mermaid as this is used in all cases.
When you run the
azuredevops-export-wiki
it leaves a.localchromium
folder in the current path of the command line.I've added the executable to my path so that it's accessible to a number of project wikis, so I'm being left with multiple copies of the headless chromium browser.
The docs for
--chrome-path
state:I'm not generally specifying
-m
but looking at the code for the PdfGenerator class that switch isn't part of the check when downloading these libraries.Seeing as Puppeteer is storing this by default in the current directory, rather than actually determining where the binaries are located, could you either:
[BrowserFetcherOptions](https://www.puppeteersharp.com/api/PuppeteerSharp.BrowserFetcherOptions.html)
object into theBrowserFetcher
withPath
set to the assembly root.BrowserFetcherOptions
object into theBrowserFetcher
withPath
set toPath.Join(Path.GetTempPath(), "AzureDevOpsExportWiki")
or similarAlso recommend updating the documentation on the
ChromePath
option to remove the reference to mermaid as this is used in all cases.