Closed snigdha920 closed 2 years ago
@elwerene looking forward to your review, please let me know about any changes / improvements.
why did you make it an array and not just one path? I can't think of a situation where you would need to supply more than one binary path.
why did you make it an array and not just one path? I can't think of a situation where you would need to supply more than one binary path.
In case someone had a different location in a local installation (and they don't wish to ln
) + the path for the installation on a deployment. I'll remove it if you think this reason is not good enough. :)
you convinced me :)
This PR aims to resolve https://github.com/elwerene/libreoffice-convert/issues/49, https://github.com/elwerene/libreoffice-convert/issues/60.
Now, users can add a custom path to the soffice binary. This is particularly useful while using this package in deployments, eg. Heroku deployment.
I have extended the options object to add
sofficeBinaryPaths
as suggested here. The users can now specify the path to soffice binary depending on where the soffice binaries are installed.