pofider / node-wkhtmltopdf-installer

Installs wkhtmltopdf through NPM
MIT License
9 stars 9 forks source link

User relative path in location.js #6

Closed pofider closed 7 years ago

pofider commented 7 years ago

The installer creates location.js which includes absolute path to the wkhtmltopdf. This prevents the application to be simply copy pasted to the different location. We should use relative path instead.

module.exports = 'E:\\temp\\trial\\node_modules\\wkhtmltopdf-installer\\vendor\\wkhtmltopdf.exe'