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

Source: AspNet/kvm@e196ca655a
This commit is contained in:
ASP.NET Push Bot 2015-07-28 09:58:12 -07:00 committed by unknown
parent b188dc8e14
commit 0a58753ded
2 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ function _WriteOut {
### Constants
$ProductVersion="1.0.0"
$BuildVersion="beta7-10400"
$BuildVersion="beta7-10401"
$Authors="Microsoft Open Technologies, Inc."
# If the Version hasn't been replaced...
@ -1115,7 +1115,7 @@ function dnvm-upgrade {
[Parameter(Mandatory=$false)]
[switch]$Unstable)
if($OS -ne "win") {
if($OS -ne "win" -and ![String]::IsNullOrEmpty($OS)) {
#We could remove OS as an option from upgrade, but I want to take this opporunty to educate users about the difference between install and upgrade
#It's possible we should just do install here instead.
_WriteOut -ForegroundColor $ColorScheme.Error "You cannot upgrade to a non-windows runtime. Upgrade will download the latest version of the $RuntimeShortFriendlyName and also set it as your machines default. You cannot set the default $RuntimeShortFriendlyName to a non-windows version because you cannot use it to run an application. If you want to install a non-windows $RuntimeShortFriendlyName to package with your application then use 'dnvm install latest -OS:$OS' instead. Install will download the package but not set it as your default."

View File

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