Open positlabs opened 8 years ago
In addition, we could build binary downloads into this package, using something like BinWrapper
This would be extremely useful for making apps more portable.
Is this the intended use of appPath here?
https://github.com/aheckmann/gm/blob/c6a6c5a18a65e9b9344955a5cf9d7417db25dff3/lib/command.js#L205
Ahhh looks like it is!
I see it mentioned in history.md, but nowhere else. Would be a welcome addition to the readme.
Say I have a graphicsmagick binary that I want gm to use instead of the command on the path. This would be particularly useful for making totally portable apps that don't depend on the user having graphicsmagick installed already.
This feature would also allow us to use a separate module to manage graphicsmagick binaries for various platforms (not sure if it exists yet), which would make it much easier to build cross-platform apps with something like electron or nw.js