Files
flamenet-messenger-android/scripts
Paul HittandClaude Opus 4.8 84b0af1c9a Add a publish script for the F-Droid repository
Our own repo, not a submission to f-droid.org — and the difference is not
cosmetic. f-droid.org rebuilds from source and signs with their key, so an app
already installed under our signature could not be upgraded by it; Android
refuses a differently-signed APK over an existing install. This repo indexes
the APK we already signed, so everybody who sideloaded from the website
upgrades cleanly and then gets updates automatically.

The working directory holds a signing keystore and its password and lives
outside every checkout, because all four repos are public. The script refuses
to run if the keystore is missing rather than re-initialising over a live repo
— replacing the index key makes every client that has added the repository
reject its updates.

Version comes out of the APK via aapt2 rather than being typed, same rule as
the update manifest.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-29 16:29:32 -04:00
..