Update content of files

This commit is contained in:
GitHub Action 2023-01-25 02:46:32 +00:00
parent 3599bcdfb2
commit d638894d86

View file

@ -110,7 +110,9 @@
<a href="/file/464001691/2/SFreJq5OZ4U.34208/f69b83468ac2a07276" target="_blank"><img src="/file/464001691/2/SFreJq5OZ4U.34208/f69b83468ac2a07276" title="Building the app" /></a>
</div>
<p>These commands will produce <strong>9 different APKs</strong> for different target SDK versions and CPU ABIs.</p>
<p>These commands will produce 3 different APKs and 2 bundles:</p>
<p><code>apk/release/app.apk</code> used for direct downloads from telegram.org/android<br><code>apk/release/app.apk</code> the playstore version<br><code>apk/release/app-huawei.apk</code> used exclusively for the Huawei store</p>
<p><code>bundle/bundleAfat_SDK23Release/TMessagesProj_App-bundleAfat_SDK23-release.aab</code><br><code>bundle/bundleAfatRelease/TMessagesProj_App-bundleAfat-release.aab</code></p>
<p>These APKs can be found in:<br><code>$HOME/telegram-android/TMessagesProj/build/outputs/apk/</code></p>
<p>Use the folder name from <a href="#step-2-confirm-which-version-you-have-installed-on-your-android">Step 2</a> 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:<br><code>$HOME/telegram-android/TMessagesProj/build/outputs/apk/arm64_SDK23/release/app.apk</code><br>Copy this APK to the root source directory by running this command in Terminal:<br><code>cp $HOME/telegram-android/TMessagesProj/build/outputs/apk/arm64_SDK23/release/app.apk $HOME/telegram-android/telegram_built.apk</code></p>
<div class="blog_wide_image">
@ -138,9 +140,10 @@
<div class="blog_wide_image">
<a href="/file/464001327/1/Qcnkce3q-J4.35468/9791eeabf384c7830d" target="_blank"><img src="/file/464001327/1/Qcnkce3q-J4.35468/9791eeabf384c7830d" title="Match" /></a>
</div>
Tada!
Otherwise, something went wrong.
<p>Play Store versions built from a bundle will be marked as &#39;store bundled&#39;. To verify such builds, use:</p>
<p><code>python apkfrombundle.py telegram_bundle.aab telegram_store.apk</code></p>
<p>If anything goes wrong, you will see this:</p>
<div class="blog_wide_image">
<a href="/file/464001245/1/0wuFZh4wBYM.38635/bf90b5a321b44360fb" target="_blank"><img src="/file/464001245/1/0wuFZh4wBYM.38635/bf90b5a321b44360fb" title="Mismatch" /></a>
</div>