elwerene / libreoffice-convert

MIT License
241 stars 94 forks source link

Specify other directory for libreoffice instalation #49

Closed Pibomeister closed 2 years ago

Pibomeister commented 3 years ago

Is there any way to specify a different path for the libreoffice instalation in Linux other than the default: ['/usr/bin/libreoffice', '/usr/bin/soffice'] paths?

I am trying to run this package within heroku but my libreoffice installation is under:

$HOME/vendor/libreoffice

I can't use ln -s or mount --bind commands to link this path to the default paths since there is no super user access on heroku.

Any help is appreciated!

elwerene commented 3 years ago

Not yet. You could extend the options object with a custom installation path variable and use that in the soffice async task. If you are making a merge request, I will happily review and merge it :)

shimcup commented 2 years ago

Any update on this?

elwerene commented 2 years ago

I didn't yet receive a pull request for this, so no. Feel free to make a pull request, I only passively maintain this package.