mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
14 lines
376 B
Batchfile
14 lines
376 B
Batchfile
|
|
@echo OFF
|
||
|
|
setlocal
|
||
|
|
|
||
|
|
if "%VisualStudioVersion%" == "" set VisualStudioVersion=15.0
|
||
|
|
|
||
|
|
if not exist %TEMP%\nuget.6.4.0.exe (
|
||
|
|
echo Nuget.exe not found in the temp dir, downloading.
|
||
|
|
powershell -Command "& { Invoke-WebRequest https://dist.nuget.org/win-x86-commandline/v6.4.0/nuget.exe -outfile $env:TEMP\nuget.6.4.0.exe }"
|
||
|
|
)
|
||
|
|
|
||
|
|
%TEMP%\nuget.6.4.0.exe %*
|
||
|
|
|
||
|
|
exit /B %ERRORLEVEL%
|