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