Skip to content
Snippets Groups Projects
electron_npm_rebuild 480 B
Newer Older
hristoterezov's avatar
hristoterezov committed
# Electron's version.
hristoterezov's avatar
hristoterezov committed
# The architecture of Electron, can be ia32 or x64.
export npm_config_arch=x64
export npm_config_target_arch=x64
# Download headers for Electron.
export npm_config_disturl=https://atom.io/download/electron
# Tell node-pre-gyp that we are building for Electron.
export npm_config_runtime=electron
# Tell node-pre-gyp to build module from source code.
export npm_config_build_from_source=true


HOME=./.electron-gyp npm install