mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 15:39:27 -05:00
8c7920b545
- Fixed deploy path with tor - Disabled webui in installer - Optimized file get-gcc-version.bat - Optimized file get-qt-version.bat - Renamed file msys-path.bat to msys2-path.bat - Removed file download-file-wildcard.bat - Removed file winhttpjs.bat - Removed download and usage of wget.exe
21 lines
301 B
Batchfile
21 lines
301 B
Batchfile
:: Usage:
|
|
:: call msys2-path.bat path variable
|
|
|
|
setlocal
|
|
|
|
set WinPath=%~1
|
|
set MSYS2Var=%~2
|
|
|
|
if "%MSYS2Var%"=="" (
|
|
echo.
|
|
echo Parameter error.
|
|
exit /B 1
|
|
)
|
|
|
|
set MSYS2Path=/%WinPath:~0,1%/%WinPath:~3%
|
|
set MSYS2Path=%MSYS2Path:\=/%
|
|
|
|
endlocal & set %MSYS2Var%=%MSYS2Path%
|
|
|
|
exit /B 0
|