Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (24 sloc) 0.747 kB
@echo off
setlocal enableextensions
set VERSION=7.1
set PRODUCT=ReSharper
set BASEDIR=JetBrains\%PRODUCT%\v%VERSION%
set PLUGIN=NuGetSupport
set INSTALL_SOURCEDIR=%~dp0\%PLUGIN%.%VERSION%
set PER_USER_PLUGINDIR=%LOCALAPPDATA%\%BASEDIR%\plugins\%PLUGIN%
if exist "%PER_USER_PLUGINDIR%" goto do_clean
mkdir "%PER_USER_PLUGINDIR%"
:do_clean
del /q %PER_USER_PLUGINDIR%\*.* 2> NUL
:do_copy
echo Copying files...
copy /y "%INSTALL_SOURCEDIR%\*.dll" "%PER_USER_PLUGINDIR%"
copy /y "%INSTALL_SOURCEDIR%\*.pdb" "%PER_USER_PLUGINDIR%" 2> NUL
echo.
REM See https://github.com/citizenmatt/UnblockZoneIdentifier
echo Unblocking downloaded files...
pushd "%PER_USER_PLUGINDIR%"
for /r %%i in (*) do "%~dp0\UnblockZoneIdentifier" "%%i"
popd
:end
pause
Jump to Line
Something went wrong with that request. Please try again.