mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 02:59:02 -05:00
Properly set electron version in env scripts
This commit is contained in:
committed by
Steve Desmond
parent
3f5adb22db
commit
5fb6ad6edd
@@ -1,3 +1,3 @@
|
||||
$env:npm_config_disturl="https://atom.io/download/electron"
|
||||
$env:npm_config_target=(node "build/lib/electron.js")
|
||||
$env:npm_config_runtime="electron"
|
||||
$env:npm_config_target=(node -p "require('./build/lib/electron').getElectronVersion();")
|
||||
$env:npm_config_runtime="electron"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
export npm_config_disturl=https://atom.io/download/electron
|
||||
export npm_config_target=$(node "build/lib/electron.js")
|
||||
export npm_config_target=$(node -p "require('./build/lib/electron').getElectronVersion();")
|
||||
export npm_config_runtime=electron
|
||||
export npm_config_cache="$HOME/.npm-electron"
|
||||
mkdir -p "$npm_config_cache"
|
||||
mkdir -p "$npm_config_cache"
|
||||
|
||||
Reference in New Issue
Block a user