adobe-photoshop/generator-core — pull request #239 by iwehrman (2014-07-27 19:12:24+00:00)
Title: Specify a required Photoshop version

1. Add `Generator.prototype.getPhotoshopVersion`;
2. Specify a required Photoshop version (currently `>=15.1`) in `package.json`;
3. Fail on startup if the current Photoshop version does not satisfy the required version;
4. Also, for fun, fail on startup if we're unable to find the Photoshop executable location instead of just logging an error message asynchronously.

Note: I'm a little worried that these changes, which block startup until we confirm the version and the executable path, are *sometimes* too slow, despite being (what I think is) correct. Sometimes the test is fast, but other times it takes 10-15 seconds! At some point @jsbache mentioned that property accesses on the `app` object in ExtendScript would block until some expensive part of the graphics system had launched. My guess is that this was already happening with the `getPhotoshopExecutableLocation` call, but we weren't waiting for it to complete before continuing startup. Open to discussion on this!

Addresses #171.