screenshot-desktop
screenshot-desktop copied to clipboard
Add dirname option and add options to the all method
This PR adds the dirname option which is usefull when the __dirname
variable does not point to the right path. This is the case inside a webpack project.
It also adds options for the the all
method, so it is possible to specify format and dirname options.