提交 01c71c1a 编写于 作者: J Joao Moreno

tfs: windows build

上级 5ed89919
......@@ -4,9 +4,9 @@ $ErrorActionPreference = 'Stop'
$env:HOME=$env:USERPROFILE
if (Test-Path env:AGENT_WORKFOLDER) {
$env:USERPROFILE="${env:AGENT_WORKFOLDER}/home"
$env:USERPROFILE="${env:AGENT_WORKFOLDER}\home"
$env:HOME="${env:USERPROFILE}"
$env:npm_config_cache="${env:USERPROFILE}/.npm-electron"
$env:npm_config_cache="${env:USERPROFILE}\.npm-electron"
New-Item -Path "$env:USERPROFILE" -Type directory -Force | out-null
New-Item -Path "$env:npm_config_cache" -Type directory -Force | out-null
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册