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

Source: AspNet/kvm@7aa35c4719
This commit is contained in:
ASP.NET Push Bot 2015-07-27 16:49:46 -07:00 committed by unknown
parent 5452c71585
commit b188dc8e14
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="beta7-10399" $BuildVersion="beta7-10400"
$Authors="Microsoft Open Technologies, Inc." $Authors="Microsoft Open Technologies, Inc."
# If the Version hasn't been replaced... # If the Version hasn't been replaced...
@ -1234,7 +1234,7 @@ function dnvm-install {
$Architecture = Get-PackageArch $runtimeFullName $Architecture = Get-PackageArch $runtimeFullName
$Runtime = Get-PackageRuntime $runtimeFullName $Runtime = Get-PackageRuntime $runtimeFullName
$OS = Get-PackageOS $runtimeFullName $OS = Get-PackageOS $runtimeFullName
$Version = Get-PackageVersion $VersionNuPkgOrAlias $Version = Get-PackageVersion $runtimeFullName
} else { } else {
$aliasPath = Join-Path $AliasesDir "$VersionNuPkgOrAlias$AliasExtension" $aliasPath = Join-Path $AliasesDir "$VersionNuPkgOrAlias$AliasExtension"
if(Test-Path $aliasPath) { if(Test-Path $aliasPath) {
@ -1258,7 +1258,7 @@ function dnvm-install {
} }
} }
$runtimeInfo = GetRuntimeInfo $Architecture $Runtime $OS $VersionNupkgOrAlias $runtimeInfo = GetRuntimeInfo $Architecture $Runtime $OS $Version
if ($VersionNuPkgOrAlias -eq "latest") { if ($VersionNuPkgOrAlias -eq "latest") {
Write-Progress -Activity "Installing runtime" -Status "Determining latest runtime" -Id 1 Write-Progress -Activity "Installing runtime" -Status "Determining latest runtime" -Id 1

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="beta7-10399" _DNVM_BUILDNUMBER="beta7-10400"
_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"