brackets-userland / brackets-electron

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
81 stars 8 forks source link

Support native module in extensions #93

Closed ficristo closed 7 years ago

ficristo commented 7 years ago

Add npm config variables to install native deps. This should fix https://github.com/zaggino/brackets-electron/issues/89, so now it should be possible to install brackets-terminal-x from the extension manager.

See https://github.com/electron/electron/blob/v1.6.6/docs/tutorial/using-native-node-modules.md#using-native-node-modules I based this PR on https://github.com/adobe/brackets/pull/13384 by git cherry-pick its commit https://github.com/adobe/brackets/commit/449299bfc8f6788212dbec9b2c4ada124d8bcb73