mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-10-01 06:55:46 -04:00
use newer protoc
This commit is contained in:
parent
8b64fbadc5
commit
70e5012d37
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||||
PROTOC_VERSION="24.3" # Keep in sync with veilid-core/build.rs
|
PROTOC_VERSION="25.3"
|
||||||
|
|
||||||
UNAME_M=$(uname -m)
|
UNAME_M=$(uname -m)
|
||||||
if [[ "$UNAME_M" == "x86_64" ]]; then
|
if [[ "$UNAME_M" == "x86_64" ]]; then
|
||||||
|
@ -17,7 +17,7 @@ IF NOT DEFINED ProgramFiles(x86) (
|
|||||||
FOR %%X IN (protoc.exe) DO (SET PROTOC_FOUND=%%~$PATH:X)
|
FOR %%X IN (protoc.exe) DO (SET PROTOC_FOUND=%%~$PATH:X)
|
||||||
IF NOT DEFINED PROTOC_FOUND (
|
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.
|
echo protobuf compiler ^(protoc^) is required but it's not installed. Install protoc 23.2 or higher. Ensure it is in your path. Aborting.
|
||||||
echo protoc is available here: https://github.com/protocolbuffers/protobuf/releases/download/v23.2/protoc-23.2-win64.zip
|
echo protoc is available here: https://github.com/protocolbuffers/protobuf/releases/download/v25.3/protoc-25.3-win64.zip
|
||||||
goto end
|
goto end
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user