Update generate_tdapi_java_file.sh and install_dependencies.sh

This commit is contained in:
Andrea Cavalli 2020-10-10 17:38:29 +02:00
parent 3df49d22b8
commit 00743eb016
2 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,7 @@ cd ..
echo "Patching TdApi.java..." echo "Patching TdApi.java..."
cd ../tdlib-serializer/ cd ../tdlib-serializer/
python3 -m pip install -r requirements.txt pip install -r requirements.txt
cd ../generated/ cd ../generated/
python3 ../tdlib-serializer/ $(realpath -m ./src/main/jni-java-src/it/tdlight/jni/TdApi.java) $(realpath -m ./src/main/jni-java-src/it/tdlight/jni/new_TdApi.java) $(realpath -m ../tdlib-serializer/headers.txt) python3 ../tdlib-serializer/ $(realpath -m ./src/main/jni-java-src/it/tdlight/jni/TdApi.java) $(realpath -m ./src/main/jni-java-src/it/tdlight/jni/new_TdApi.java) $(realpath -m ../tdlib-serializer/headers.txt)
rm ./src/main/jni-java-src/it/tdlight/jni/TdApi.java rm ./src/main/jni-java-src/it/tdlight/jni/TdApi.java

View File

@ -19,6 +19,7 @@ elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
choco install strawberryperl choco install strawberryperl
choco install nasm choco install nasm
choco install php --version=7.4.9 --package-parameters='"/ThreadSafe ""/InstallDir:C:\PHP"""' choco install php --version=7.4.9 --package-parameters='"/ThreadSafe ""/InstallDir:C:\PHP"""'
choco install python3 --params "/InstallDir:C:\Python3"
git clone --depth=1 https://github.com/tdlight-team/windows-amd64-prebuilt-libraries.git windowsenv git clone --depth=1 https://github.com/tdlight-team/windows-amd64-prebuilt-libraries.git windowsenv
mv windowsenv/vcpkg $VCPKG_DIR mv windowsenv/vcpkg $VCPKG_DIR