* Fix installing plugins that use `node-gyp`
Sets the proper environmental variables to install plugins that have
specific needs for compilation e.g. `nodegit`.
* Get Electron version from `package.json` for plugins env variable
* Dynamically change the `font-smoothing` pref
By default, hterm defaults to `font-smoothing: 'antialiased'`, which
works really well on retina displays. On non-retina displays, however,
the type looks very thin and is hard to read.
This will look at the devicePixelRatio of the device anytime the term
prefs are set, and change between `antialiased` and
`subpixel-antialiased` dynamically.
* Refactor to add the font smoothing override into state
This also subscribes to the electron `move` event to control when this
piece of state gets updated.
* Add UI_WINDOW_MOVE action with a side effect for font smoothing
* Add support for a `registry` configuration field
For those of us using a system-wide private registry, this helps by allowing hyperterm to bypass it when installing/updates plugins.
* Use getDecoratedConfig()
* registry -> npmRegistry
* no message
The `$EDITOR ~/.hyperterm.js && exit` requires that the default shell recognize variables as commands and to recognize the `&&` syntax, so it does not work with fish shell. The new command works with all common shells, including fish.
* Add an option for a non-login shell to be run
By default, however, the user's login shell will be used
* Reset shell default to empty string, and improve documentation
the previous dependencies between eslint and eslint-config-standard
return the following warn and error.
```
npm WARN peerDependencies The peer dependency eslint@^2.0.0-rc.0
included from eslint-config-standard will no
npm WARN peerDependencies longer be automatically installed to fulfill
the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to
depend on it explicitly.
```
```
npm ERR! peerinvalid The package eslint@3.0.1 does not satisfy its
siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer eslint-config-standard@5.3.1 wants
eslint@^2.0.0-rc.0
```
so updated the version of eslint-config-standard from 5.3.1 to 5.3.5
which is the newest now.
- Add missing separator after `About`.
- Use `role` instead of deprecated `selector` for menu items
- Add `undo` and `redo` menu items. Both Terminal and iTerm have these.
- Remove indent of the report issue template. The indent ended up in the issue body, which looks weird.
- Add separator after `New Tab`. This is how iTerm does it.
Fix the error when executing in some none-bash shell(eg. fish):
```
Failed to execute process './scripts/install.sh'. Reason:
exec: Exec format error
The file './scripts/install.sh' is marked as an executable
but could not be run by the operating system.
```