HakanL / WkHtmlToPdf-DotNet

C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.
GNU Lesser General Public License v3.0
366 stars 66 forks source link

Correction to load the correct native module without forcing exceptions, fixes #125 #126

Closed POFerro closed 5 months ago

POFerro commented 5 months ago

Hi @HakanL ,

Please consider this PR, it tries to load the correct native module by inferring process architecture instead of forcing an exception on x86 environments.

My belief is that it corrects #125 .

Best regards POFerro

HakanL commented 5 months ago

@POFerro Thanks for your contribution! I think the PR looks good!