mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-08 18:31:07 +03:00
rename server request from "delete" to "uninstall"
This matches the Android API's current Intent action for this, rather than the deprecated one: https://gitlab.com/fdroid/fdroidclient/blob/v0.101-alpha5/app/src/main/java/org/fdroid/fdroid/installer/DefaultInstallerActivity.java#L147 https://developer.android.com/reference/android/content/Intent.html#ACTION_UNINSTALL_PACKAGE https://developer.android.com/reference/android/content/Intent.html#ACTION_DELETE
This commit is contained in:
parent
a6a8d34528
commit
6126b55136
3 changed files with 7 additions and 7 deletions
|
@ -959,7 +959,7 @@ def make_index(apps, sortedids, apks, repodir, archive, categories):
|
|||
repoel.setAttribute("pubkey", extract_pubkey().decode('utf-8'))
|
||||
root.appendChild(repoel)
|
||||
|
||||
for command in ('install', 'delete'):
|
||||
for command in ('install', 'uninstall'):
|
||||
packageNames = []
|
||||
key = command + '_list'
|
||||
if key in config:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue