2017-10-06 18:33:22 +02:00
|
|
|
#!/bin/bash
|
2017-05-17 16:37:26 +02:00
|
|
|
export npm_config_disturl=https://atom.io/download/electron
|
2018-03-13 20:58:37 +01:00
|
|
|
export npm_config_target=$(node -p "require('./build/lib/electron').getElectronVersion();")
|
2017-05-17 16:37:26 +02:00
|
|
|
export npm_config_runtime=electron
|
|
|
|
export npm_config_cache="$HOME/.npm-electron"
|
2018-03-13 20:58:37 +01:00
|
|
|
mkdir -p "$npm_config_cache"
|