Dylan Frankland
b938ad4c58
Fix installing plugins that use node-gyp ( #291 )
...
* 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
2016-07-19 16:22:56 -07:00
Jason Miller
dc9b4d371f
Add support for a registry configuration field ( #211 )
...
* 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
2016-07-18 17:50:58 -07:00
Marc Bachmann
1e1b31aad8
plugins: use user env vars for npm install ( #172 )
2016-07-17 10:28:24 -07:00
Fernando Montoya
f6f6cb08f4
Fix notification message ( #111 )
2016-07-16 18:24:16 -07:00
Dylan Frankland
c00d488de2
Fix onWindow hook ( #180 )
...
The `onWindow` method of plugins.js has no second parameter of `app`.
Switch to the `BrowserWindow` passed as the first parameter.
2016-07-16 15:37:27 -07:00
Guillermo Rauch
c2658ff1a0
plugins: improve error handling and introduce getDecoratedConfig
2016-07-16 11:59:20 -07:00
Guillermo Rauch
f640c72de6
plugins: more graceful npm error
2016-07-14 09:26:23 -07:00
Guillermo Rauch
a667205ad2
plugins: pass electron app to unload hook
2016-07-13 22:18:57 -07:00
Guillermo Rauch
f4474e747d
add unload hooks
2016-07-13 22:18:06 -07:00
Guillermo Rauch
0ce6df417b
plugins: rename .hyperterm_modules to .hyperterm_plugins
2016-07-13 21:26:11 -07:00
Guillermo Rauch
60f0887c2a
plugins: fix use of #, improve notifications, better errors
2016-07-13 19:06:51 -07:00
Guillermo Rauch
477e40e433
refactor
2016-07-13 13:45:14 -07:00
Guillermo Rauch
1aa537b025
plugins: implement decorateMenu
2016-07-08 14:27:02 -07:00
Guillermo Rauch
d74f8ac1dc
plugins: change location for local modules
2016-07-08 14:25:45 -07:00
Guillermo Rauch
09cb3a4e45
expose paths to renderer
2016-07-08 09:48:37 -07:00
Guillermo Rauch
917c68c050
plugins: less invasive cache cleanup
2016-07-08 09:46:37 -07:00
Guillermo Rauch
3eb50ca946
plugins: detect location of npm
2016-07-08 07:40:57 -07:00
Guillermo Rauch
edc201ea03
improve plugin notifications
2016-07-08 07:40:48 -07:00
Guillermo Rauch
0873f41329
plugins: fix command not found detection
2016-07-08 06:22:15 -07:00
Guillermo Rauch
9f635021c9
first pass at plugins system
2016-07-07 17:16:44 -07:00