Skip to content

Commit 96ba72a

Browse files
authored
Restore dnvm scripts (#1761)
* Revert "Remove old artifacts from Home repo (#1754)" This reverts commit 3b8fc8c. * Add back dnvm scripts
1 parent 68e1275 commit 96ba72a

File tree

5 files changed

+3095
-0
lines changed

5 files changed

+3095
-0
lines changed

dnvm.cmd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@Echo off
2+
3+
for /f "delims=" %%i in ('PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.IO.Path]::GetTempFileName()"') do set DNVM_CMD_PATH_FILE="%%i.cmd"
4+
5+
PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';$CmdPathFile='%DNVM_CMD_PATH_FILE%';& '%~dp0dnvm.ps1' %*"
6+
7+
IF EXIST %DNVM_CMD_PATH_FILE% (
8+
CALL %DNVM_CMD_PATH_FILE%
9+
DEL %DNVM_CMD_PATH_FILE%
10+
)

0 commit comments

Comments
 (0)