mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-08 02:11:07 +03:00
include non-APKs that match metadata and fdroid-generated filenames
Since it is now possible to build and include arbitrary files, like OTA update ZIP files, the update procedure needs to look for non-APK files that match the packageName_versionCode pattern of fdroid-generated files. !193 admin#14 privileged-extension#9
This commit is contained in:
parent
9d363b91f4
commit
6aca906863
4 changed files with 77 additions and 1 deletions
42
tests/metadata/fake.ota.update.txt
Normal file
42
tests/metadata/fake.ota.update.txt
Normal file
|
@ -0,0 +1,42 @@
|
|||
Categories:System
|
||||
License:Apache-2.0
|
||||
Web Site:https://f-droid.org
|
||||
Source Code:https://gitlab.com/fdroid/privileged-extension
|
||||
Issue Tracker:https://gitlab.com/fdroid/privileged-extension/issues
|
||||
Donate:https://f-droid.org/about
|
||||
|
||||
Auto Name:Fake OTA Update
|
||||
Summary:Tests whether OTA ZIP files are being include
|
||||
Description:
|
||||
F-Droid can make use of system privileges or permissions to
|
||||
install, update and remove applications on its own. The only way to obtain those
|
||||
privileges is to become a system app.
|
||||
|
||||
This is where the Privileged Extension comes in - being a separate app and much
|
||||
smaller, it can be installed as a system app and communicate with the main app
|
||||
via AIDL IPC.
|
||||
|
||||
This has several advantages:
|
||||
|
||||
* Reduced disk usage in the system partition
|
||||
* System updates don't remove F-Droid
|
||||
* The process of installing into system via root is safer
|
||||
|
||||
This is packaged as an OTA (Over-The-Air) update ZIP file. It must be installed
|
||||
using TWRP or other Android recovery that can flash updates to the system from
|
||||
the /data/data/org.fdroid.fdroid folder on the /data partition. The standalone
|
||||
APK is called F-Droid Privileged Extension.
|
||||
.
|
||||
|
||||
Repo Type:git
|
||||
Repo:https://gitlab.com/fdroid/privileged-extension.git
|
||||
|
||||
Build:0.2.1,2000
|
||||
commit=0.2.1
|
||||
output=app/build/distributions/FDroidPrivilegedExtensionFromBinaries-0.2.1.zip
|
||||
build=gradle assembleUpdateZipFromBinariesDebug
|
||||
|
||||
Auto Update Mode:Version %v
|
||||
Update Check Mode:Tags
|
||||
Current Version:0.2.1
|
||||
Current Version Code:2000
|
Loading…
Add table
Add a link
Reference in a new issue