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

Source: AspNet/kvm@a542e255c0
This commit is contained in:
ASP.NET Push Bot 2015-06-18 21:24:42 -07:00 committed by unknown
parent b00ff9a42d
commit c52c61a90a
2 changed files with 3 additions and 7 deletions

View File

@ -67,7 +67,7 @@ function _WriteOut {
### Constants
$ProductVersion="1.0.0"
$BuildVersion="beta6-10390"
$BuildVersion="beta6-10392"
$Authors="Microsoft Open Technologies, Inc."
# If the Version hasn't been replaced...
@ -1455,11 +1455,7 @@ if(!$cmd) {
try {
if(Get-Command -Name "$CommandPrefix$cmd" -ErrorAction SilentlyContinue) {
_WriteDebug "& dnvm-$cmd $cmdargs"
if($host.Version.Major -lt 3) {
Invoke-Command ([ScriptBlock]::Create("dnvm-$cmd $cmdargs"))
} else {
& "dnvm-$cmd" @cmdargs
}
Invoke-Command ([ScriptBlock]::Create("dnvm-$cmd $cmdargs"))
}
else {
_WriteOut "Unknown command: '$cmd'"

View File

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