parent
5452c71585
commit
b188dc8e14
6
dnvm.ps1
6
dnvm.ps1
|
|
@ -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
|
||||||
|
|
|
||||||
2
dnvm.sh
2
dnvm.sh
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue