forked from tchapgouv/tchap-android-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_tchap_apk.sh
executable file
·57 lines (36 loc) · 4.82 KB
/
build_tchap_apk.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/bin/bash
rm *.apk
./gradlew clean
output="vector/build/outputs/apk"
# Google Play | Protected | Without Voip | Without Pinning
./gradlew assembleAppProtecteedWithoutvoipWithoutpinningMatrixorg; cp ${output}/AppProtecteedWithoutvoipWithoutpinning/matrixorg/vector-app-protecteed-withoutvoip-withoutpinning-matrixorg.apk ./tchapProtectedWithoutVoipGooglePlay.apk
# Google Play | Protected | With Voip | Without Pinning
./gradlew assembleAppProtecteedWithvoipWithoutpinningMatrixorg; cp ${output}/AppProtecteedWithvoipWithoutpinning/matrixorg/vector-app-protecteed-withvoip-withoutpinning-matrixorg.apk ./tchapProtectedWithVoipGooglePlay.apk
# Google Play | Preprod | Without Voip | Without Pinning
#./gradlew assembleAppPreprodWithoutvoipWithoutpinningMatrixorg; cp ${output}/AppPreprodWithoutvoipWithoutpinning/matrixorg/vector-app-preprod-withoutvoip-withoutpinning-matrixorg.apk ./tchapPreprodWithoutVoipGooglePlay.apk
# Google Play | Preprod | With Voip | Without Pinning
#./gradlew assembleAppPreprodWithvoipWithoutpinningMatrixorg; cp ${output}/AppPreprodWithvoipWithoutpinning/matrixorg/vector-app-preprod-withvoip-withoutpinning-matrixorg.apk ./tchapPreprodWithVoipGooglePlay.apk
# Google Play | Agent | Without Voip | Without Pinning
./gradlew assembleAppAgentWithoutvoipWithoutpinningMatrixorg; cp ${output}/AppAgentWithoutvoipWithoutpinning/matrixorg/vector-app-agent-withoutvoip-withoutpinning-matrixorg.apk ./tchapAgentWithoutVoipGooglePlay.apk
# Google Play | Agent | With Voip | Without Pinning
./gradlew assembleAppAgentWithvoipWithoutpinningMatrixorg; cp ${output}/AppAgentWithvoipWithoutpinning/matrixorg/vector-app-agent-withvoip-withoutpinning-matrixorg.apk ./tchapAgentWithVoipGooglePlay.apk
# Google Play | Agent | Without Voip | With Pinning
./gradlew assembleAppAgentWithoutvoipWithpinningMatrixorg; cp ${output}/AppAgentWithoutvoipWithpinning/matrixorg/vector-app-agent-withoutvoip-withpinning-matrixorg.apk ./tchapAgentWithoutVoipWithPinningGooglePlay.apk
# Google Play | Agent | With Voip | With Pinning
./gradlew assembleAppAgentWithvoipWithpinningMatrixorg; cp ${output}/AppAgentWithvoipWithpinning/matrixorg/vector-app-agent-withvoip-withpinning-matrixorg.apk ./tchapAgentWithVoipWithPinningGooglePlay.apk
# FDroid | Protected | Without Voip | Without Pinning
./gradlew assembleAppfdroidProtecteedWithoutvoipWithoutpinningMatrixorg; cp ${output}/AppfdroidProtecteedWithoutvoipWithoutpinning/matrixorg/vector-appfdroid-protecteed-withoutvoip-withoutpinning-matrixorg.apk ./tchapProtectedWithoutVoipFDroid.apk
# FDroid | Protected | With Voip | Without Pinning
./gradlew assembleAppfdroidProtecteedWithvoipWithoutpinningMatrixorg; cp ${output}/AppfdroidProtecteedWithvoipWithoutpinning/matrixorg/vector-appfdroid-protecteed-withvoip-withoutpinning-matrixorg.apk ./tchapProtectedWithVoipFDroid.apk
# FDroid | Preprod | Without Voip | Without Pinning
#./gradlew assembleAppfdroidPreprodWithoutvoipWithoutpinningMatrixorg; cp ${output}/AppfdroidPreprodWithoutvoipWithoutpinning/matrixorg/vector-appfdroid-preprod-withoutvoip-withoutpinning-matrixorg.apk ./tchapPreprodWithoutVoipFDroid.apk
# FDroid | Preprod | With Voip | Without Pinning
#./gradlew assembleAppfdroidPreprodWithvoipWithoutpinningMatrixorg; cp ${output}/AppfdroidPreprodWithvoipWithoutpinning/matrixorg/vector-appfdroid-preprod-withvoip-withoutpinning-matrixorg.apk ./tchapPreprodWithVoipFDroid.apk
# FDroid | Agent | Without Voip | Without Pinning
./gradlew assembleAppfdroidAgentWithoutvoipWithoutpinningMatrixorg; cp ${output}/AppfdroidAgentWithoutvoipWithoutpinning/matrixorg/vector-appfdroid-agent-withoutvoip-withoutpinning-matrixorg.apk ./tchapAgentWithoutVoipFDroid.apk
# FDroid | Agent | With Voip | Without Pinning
./gradlew assembleAppfdroidAgentWithvoipWithoutpinningMatrixorg; cp ${output}/AppfdroidAgentWithvoipWithoutpinning/matrixorg/vector-appfdroid-agent-withvoip-withoutpinning-matrixorg.apk ./tchapAgentWithVoipFDroid.apk
# FDroid | Agent | Without Voip | With Pinning
./gradlew assembleAppfdroidAgentWithoutvoipWithpinningMatrixorg; cp ${output}/AppfdroidAgentWithoutvoipWithpinning/matrixorg/vector-appfdroid-agent-withoutvoip-withpinning-matrixorg.apk ./tchapAgentWithoutVoipWithPinningFDroid.apk
# FDroid | Agent | With Voip | With Pinning
./gradlew assembleAppfdroidAgentWithvoipWithpinningMatrixorg; cp ${output}/AppfdroidAgentWithvoipWithpinning/matrixorg/vector-appfdroid-agent-withvoip-withpinning-matrixorg.apk ./tchapAgentWithVoipWithPinningFDroid.apk