mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 16:09:35 -05:00
20 lines
345 B
Batchfile
20 lines
345 B
Batchfile
@echo off
|
|
|
|
setlocal
|
|
|
|
if exist "%~dp0msys2\msys32" call :update 32
|
|
if exist "%~dp0msys2\msys64" call :update 64
|
|
|
|
goto :EOF
|
|
|
|
:update
|
|
set MSYS2SH=%~dp0msys2\msys%~1\usr\bin\sh
|
|
|
|
echo Update MSYS2 %~1
|
|
"%MSYS2SH%" -lc "yes | pacman --noconfirm -Syuu msys2-keyring"
|
|
"%MSYS2SH%" -lc "pacman --noconfirm -Su"
|
|
|
|
:exit
|
|
endlocal
|
|
goto :EOF
|