- This was a huge pain in the neck, literally and figuratively.
- Saving: WORKING
- Opening: WORKING
- Overwriting: WORKING
- Wallpaper: (reply was never sent...)
- Linux uses BrowserWindow icon option, but the filename was incorrect.
- Windows and Mac use packagerConfig, which differentiates on the file extension automatically, but the file names have to be the same otherwise.
Keep projects on disinct ports so that 1. the local storage isn't shared with other projects, and I can freely clear it on one project without affecting another, and 2. so it doesn't sometimes get a random free port which then has local storage that is TOO separate, and drawings there can be lost too easily :)
I'd do port 1998 but I think I'll reserve that for working on 98.js.org
This module was written before app.isPackaged existed.
The environment variable is now ELECTRON_DEBUG=1 (instead of ELECTRON_IS_DEV=1) for allowing opening the devtools in production.
- It's been conking out after a few minutes. I don't know why.
With only two files, I don't expect performance issues using --poll.
- Rebuild initially, not just on changes.
- Update comments
- localization/ko/localizations.js changes should just be reorderings.
- No longer including "combined.rc" files in source control, since the combination is just done in memory.
On Linux (Travis CI) this should evaluate as a backslash, at least. (please.)
On Windows this will evaluate as two backslashes, but that should be fine since it's in a regexp character class.
:((((
- Ditch Casper.js / PhantomCSS
- Set up Cypress and cypress-image-snapshot
- Implement visual tests covering most of the same ground as what I had before (and more), but with some caveats
- Some tests are flaky right now due to resource loading, and some have areas blotched out in order to not depend on resource loading
- TODO: set up continuous integration, add more tests, etc.
- Swap `http-server` for `serve` to fix an issue https://github.com/http-party/http-server/issues/525 (could downgrade instead alternatively)
- Swap `parallelshell` for `npm-run-all` to fix an issue https://github.com/darkguy2008/parallelshell/issues/69 (could downgrade instead alternatively)
- Switch from firefox (slimerjs) to the default (phantomjs) because my version of firefox is too new now
- This gets tests running, sorta, but not working.
Fix clipboard support by updating Electron to a version that supports the Async Clipboard API with images, and remove the old code that was specifically for electron!