don't download the same file twice
This commit is contained in:
parent
7f5b4ed288
commit
5b289f1a28
1 changed files with 4 additions and 4 deletions
|
@ -239,15 +239,15 @@ CALL "%TEMP%\VMulti-Driver\install_hiddriver.bat"
|
|||
PowerShell -Command "Invoke-WebRequest -Uri https://github.com/X9VoiD/VoiDPlugins/releases/latest/download/WindowsInk.zip -OutFile '%TEMP%\WindowsInk.zip'"
|
||||
PowerShell -Command "Expand-Archive -Path '%TEMP%\WindowsInk.zip' -DestinationPath '%LOCALAPPDATA%\OpenTabletDriver\Plugins\Windows Ink' -Force"
|
||||
|
||||
:: Settings of OpenTabletDriver, using 'vertical-main.json' as default settings
|
||||
ECHO Setting up OpenTabletDriver...
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/opentabletdriver/vertical-main.json -OutFile '%LOCALAPPDATA%\OpenTabletDriver\settings.json'"
|
||||
|
||||
:: Presets of OpenTabletDriver
|
||||
ECHO Downloading OpenTabletDriver presets...
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/opentabletdriver/vertical-main.json -OutFile '%LOCALAPPDATA%\OpenTabletDriver\Presets\vertical-main.json'"
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/opentabletdriver/vertical-second.json -OutFile '%LOCALAPPDATA%\OpenTabletDriver\Presets\vertical-second.json'"
|
||||
|
||||
:: Settings of OpenTabletDriver, using 'vertical-main.json' as default settings
|
||||
ECHO Setting up OpenTabletDriver...
|
||||
XCOPY "%LOCALAPPDATA%\OpenTabletDriver\Presets\vertical-main.json" "%LOCALAPPDATA%\OpenTabletDriver\settings.json" /-I /Y
|
||||
|
||||
:: Install VALORANT rank yoinker
|
||||
ECHO VALORANT rank yoinker...
|
||||
PowerShell -Command "" ^
|
||||
|
|
Loading…
Reference in a new issue