From 4fe752d7f9edc3d9aec3b4dd249b05af7a2d7777 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 27 Jan 2023 10:33:30 +0000 Subject: [PATCH] Update content of files --- data/web/core.telegram.org/reproducible-builds.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/data/web/core.telegram.org/reproducible-builds.html b/data/web/core.telegram.org/reproducible-builds.html index 322d1968ed..364d261a94 100644 --- a/data/web/core.telegram.org/reproducible-builds.html +++ b/data/web/core.telegram.org/reproducible-builds.html @@ -60,15 +60,15 @@

Step 1. Install Docker

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

We recommend using the maximum amount allowed by your system's hardware, in order to speed up the build time.

Step 2. Confirm which version you have installed on your Android device

-

You can find the version/build number at the bottom of the Settings page. Note that Telegram supports reproducible builds starting with version 5.13.

+

You can find the version/build number and the source (website, Play Store, Huawery Store) at the bottom of the Settings page. Note that Telegram supports reproducible builds starting with version 5.13.

- +

App Version

@@ -78,7 +78,7 @@ --> -

The commit tag to checkout source code for the example above will be release-5.13.0_1821.

+

The commit tag to checkout source code for the example above will be release-9.3.3_3026.

Please make sure that you're using the correct version and build number of the version you want to check (and not the one from this example 😈).

@@ -128,7 +128,8 @@ The part after the version number will help you know in which folder to look for

/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/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

+

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 the Play Store version, 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