You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213
  1. const path = require('path');
  2. const index = require('./index');
  3. let libreofficeBin = path.resolve(__dirname, '../../../../etc/LibreOffice/App/libreoffice/program/soffice.exe');
  4. let convertBin = path.resolve(__dirname, '../../../../etc/ImageMagick-convert/convert.exe');
  5. exports.convert = (args)=>{
  6. args = args || {};
  7. args.libreofficeBin = args.libreofficeBin || libreofficeBin;
  8. args.convertBin = args.convertBin || convertBin;
  9. console.log(args)
  10. return index.convert(args);
  11. }