⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh

Source: AspNet/kvm@0c3fc02fe4
This commit is contained in:
ASP.NET Push Bot 2015-04-30 10:17:18 -07:00 committed by unknown
parent 7681b7e835
commit 7dad807805
2 changed files with 4 additions and 4 deletions

View File

@ -67,7 +67,7 @@ function _WriteOut {
### Constants ### Constants
$ProductVersion="1.0.0" $ProductVersion="1.0.0"
$BuildVersion="beta5-10372" $BuildVersion="beta5-10373"
$Authors="Microsoft Open Technologies, Inc." $Authors="Microsoft Open Technologies, Inc."
# If the Version hasn't been replaced... # If the Version hasn't been replaced...
@ -190,7 +190,7 @@ if(!$UserHome) {
_WriteDebug "Detecting User Home..." _WriteDebug "Detecting User Home..."
$pf = $env:ProgramFiles $pf = $env:ProgramFiles
if(Test-Path "env:\ProgramFiles(x86)") { if(Test-Path "env:\ProgramFiles(x86)") {
$pf32 = cat "env:\ProgramFiles(x86)" $pf32 = Get-Content "env:\ProgramFiles(x86)"
} }
# Canonicalize so we can do StartsWith tests # Canonicalize so we can do StartsWith tests
@ -1366,7 +1366,7 @@ function dnvm-setup {
_WriteOut "Adding $DestinationHome to Process $HomeEnvVar" _WriteOut "Adding $DestinationHome to Process $HomeEnvVar"
$processHome = "" $processHome = ""
if(Test-Path "env:\$HomeEnvVar") { if(Test-Path "env:\$HomeEnvVar") {
$processHome = cat "env:\$HomeEnvVar" $processHome = Get-Content "env:\$HomeEnvVar"
} }
$processHome = Change-Path $processHome "%USERPROFILE%\$DefaultUserDirectoryName" $PathsToRemove $processHome = Change-Path $processHome "%USERPROFILE%\$DefaultUserDirectoryName" $PathsToRemove
Set-Content "env:\$HomeEnvVar" $processHome Set-Content "env:\$HomeEnvVar" $processHome

View File

@ -2,7 +2,7 @@
# Source this file from your .bash-profile or script to use # Source this file from your .bash-profile or script to use
# "Constants" # "Constants"
_DNVM_BUILDNUMBER="beta5-10372" _DNVM_BUILDNUMBER="beta5-10373"
_DNVM_AUTHORS="Microsoft Open Technologies, Inc." _DNVM_AUTHORS="Microsoft Open Technologies, Inc."
_DNVM_RUNTIME_PACKAGE_NAME="dnx" _DNVM_RUNTIME_PACKAGE_NAME="dnx"
_DNVM_RUNTIME_FRIENDLY_NAME=".NET Execution Environment" _DNVM_RUNTIME_FRIENDLY_NAME=".NET Execution Environment"