Android: a RuStore build, without the app's own updates and the counted check
The owner puts the app in RuStore: the store updates it, and the store's build must neither update itself nor be counted by the site. A build type «rustore» on the same branch (not a branch to catch up each time): the release with SELF_UPDATE off — no check of releases (the check is what the site counts installations by), no download or install, no updates block in About, a release kept from the site's build forgotten; its manifest drops the install permissions and the installer's receiver. The full build only; the same package and key, so it goes over the site's one and back with the databases. release.sh builds it into dist-rustore and checks it asks for no install permission; the release workflow keeps it as the run's «rustore» artifact, not a file of the release. The site's builds are as they were. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f31023dcd7
commit
dd4572fd8a
9 changed files with 73 additions and 10 deletions
|
|
@ -1844,6 +1844,8 @@
|
|||
|
||||
## 25. Обновление приложения (2026-10-23)
|
||||
|
||||
> Сборка для RuStore (`decisions.md` «Сборка для RuStore», 2026-10-27) — без всего этого раздела: проверки, карточки, листа, блока в «О программе» и разрешений на установку; обновляет магазин.
|
||||
|
||||
Приложение ставится не из магазина, а файлом APK с сайта или со страницы выпуска на GitHub. Чтобы человек не ходил за новой версией сам, приложение узнаёт о ней, скачивает лёгкую сборку, проверяет и передаёт Android на установку. Базы, настройки и движок при этом остаются. Проверка — запрос к сайту, который отвечает сведениями о последнем выпуске и заодно считает установки (§25.6), и сверка с `SHA256SUMS.txt`, как на компьютере (`apps/desktop/src/update.rs`). Слова тоже взяты с компьютера, где они там есть.
|
||||
|
||||
Решения:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue