adobe-photoshop/generator-assets — pull request #143 by joelrbrandt (2013-08-23 17:53:28+00:00)
Title: store starting menu state at menu event, use to enable/disable

Fixes #108

Requires adobe-photoshop/generator#98

This is slightly harder to test now, because the "Generate" menu is always disabled once the user has explicitly disabled Geneartor. So, you have to get back to the "first launch" state.

**Here are the new repro steps:**

1. Create a file which has metadata set for asset generation to be enabled
2. Quit Photoshop
3. Relaunch Photoshop, trashing preferences
4. Open file from step 1
5. Enable Generator by choosing the dummy "Generate > Web Assets" menu

**New correct behavior (after this PR):**

Generator launches, asset generation is enabled for the document

**Old broken behavior (before this PR):**

Generator launches, observes that the document already has asset generation enabled, and toggles it to off because the menu was chosen.