powershell-paperless
powershell-paperless copied to clipboard
Fixed file extraction from .NET tesseract wrapper
With version 4.1.1 (https://github.com/charlesw/tesseract/releases/tag/4.1.1), the script does not extract Tesseract.dll. The x86 & x64 folders in the ZIP file are also not extracted in a way that allows the Teseract.dll to work.
This pull request fixes those issues and has a few minor formatting changes from version 1.19.1 of the PSScriptAnalyzer module.