Update generate_tdapi_java_file.sh
This commit is contained in:
parent
51382119b6
commit
63942133ad
@ -95,9 +95,6 @@ cmake --build . --target td_generate_java_api --config Release ${CPU_CORES}
|
||||
cd ..
|
||||
|
||||
echo "Patching TdApi.java..."
|
||||
cd ../tdlib-serializer/
|
||||
pip3 install -r requirements.txt --user
|
||||
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)
|
||||
rm ./src/main/jni-java-src/it/tdlight/jni/TdApi.java
|
||||
unexpand --tabs=2 ./src/main/jni-java-src/it/tdlight/jni/new_TdApi.java > ./src/main/jni-java-src/it/tdlight/jni/TdApi.java
|
||||
|
Loading…
Reference in New Issue
Block a user