diff --git a/data/web/core.telegram.org/reproducible-builds.html b/data/web/core.telegram.org/reproducible-builds.html index ea0e7b4d01..322d1968ed 100644 --- a/data/web/core.telegram.org/reproducible-builds.html +++ b/data/web/core.telegram.org/reproducible-builds.html @@ -58,7 +58,7 @@
Docker can be obtained here. Once the installation is complete, log into your Docker account > Preferences > Advanced and configure the amount of resources Docker may use:
+Docker can be obtained here. Once the installation is complete, log into your Docker account > Settings > Resources > Advanced and configure the amount of resources Docker may use:
Docker Performance
@@ -94,10 +94,12 @@ The part after the version number will help you know in which folder to look for * “x86_64” - folder name will start with “x64”. --> +These commands will produce 3 different APKs and 2 bundles:
-apk/standalone/app.apk
– used for direct downloads from telegram.org/androidapk/release/app.apk
– the playstore versionapk/release/app-huawei.apk
– used exclusively for the Huawei store
/apk/afat/standalone/app.apk
– used for direct downloads from telegram.org/android/apk/afat/elease/app.apk
– the playstore version/apk/afat/release/app-huawei.apk
– used exclusively for the Huawei store
bundle/bundleAfat_SDK23Release/TMessagesProj_App-bundleAfat_SDK23-release.aab
bundle/bundleAfatRelease/TMessagesProj_App-bundleAfat-release.aab
These APKs can be found in:$HOME/telegram-android/TMessagesProj/build/outputs/apk/
Use the folder name from Step 2 to find the correct folder that holds the same APK as installed on your device. For example, for non-universal Android 9.0 arm64-v8a, the path to your APK will be:$HOME/telegram-android/TMessagesProj/build/outputs/apk/arm64_SDK23/release/app.apk
Copy this APK to the root source directory by running this command in Terminal:cp $HOME/telegram-android/TMessagesProj/build/outputs/apk/arm64_SDK23/release/app.apk $HOME/telegram-android/telegram_built.apk
These APKs can be found in:$HOME/telegram-android/TMessagesProj/build/outputs/apk/afat/
Use the folder name from Step 4 to find the correct folder that holds the same APK as installed on your device. For example, for non-universal Android 9.0 arm64-v8a, the path to your APK will be:$HOME/telegram-android/TMessagesProj/build/outputs/apk/afat/release/app.apk
Copy this APK to the root source directory by running this command in Terminal:cp $HOME/telegram-android/TMessagesProj/build/outputs/apk/afat/release/app.apk $HOME/telegram-android/telegram_built.apk
The output will look something like this:package:/data/app/org.telegram.messenger-_zOSURFEx2GpHM8UDF_PVg==/base.apk
By using this information, pull the APK from your device to $HOME/telegram-android using command:adb pull /data/app/org.telegram.messenger-_zOSURFEx2GpHM8UDF_PVg==/base.apk $HOME/telegram-android/telegram_store.apk
Open Terminal, run the commands:cd $HOME/telegram-android
python apkdiff.py telegram_store.apk telegram_built.apk
If the APKs are the same, you will seeAPKs are the same!
To compare Direct and Huawei Store versions, open Terminal, run the commands:cd $HOME/telegram-android
python apkdiff.py telegram_store.apk telegram_built.apk
If the APKs are the same, you will seeAPKs are the same!