veilidchat/dev-setup/setup_windows.bat

27 lines
689 B
Batchfile
Raw Normal View History

2023-11-16 07:51:55 -05:00
@echo off
setlocal
REM #############################################
CALL ..\..\veilid\dev-setup\setup_windows.bat
PUSHD %~dp0\..
SET VEILIDCHATDIR=%CD%
POPD
IF NOT DEFINED ProgramFiles(x86) (
echo This script requires a 64-bit Windows Installation. Exiting.
goto end
)
FOR %%X IN (protoc.exe) DO (SET PROTOC_FOUND=%%~$PATH:X)
IF NOT DEFINED PROTOC_FOUND (
echo protobuf compiler ^(protoc^) is required but it's not installed. Install protoc 23.2 or higher. Ensure it is in your path. Aborting.
2024-05-21 20:07:43 -04:00
echo protoc is available here: https://github.com/protocolbuffers/protobuf/releases/download/v25.3/protoc-25.3-win64.zip
2023-11-16 07:51:55 -05:00
goto end
)
echo Setup successful
:end
ENDLOCAL