mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-06-14 03:19:19 +00:00
Implement automatic updates after repository sync
Initial implementation of fully automatic updates, allowing apps to be updated after a repo sync has been completed. It can be enabled with a new preference in settings. Implemented by greatly modifying SyncService to allow updates to be run on every completed sync before notifications would be outputted. Note that the update notification no longer appears if auto updates are enabled. BuildConfig.DEBUG is used to force syncing to run to completion, even if there are no changes to the repos. This allow reliable testing by turning the sync button into an "update all" button. This should be removed once an "Update all" button has been implemented in the updates tab. Cache file checking in DefaultInstaller is now more robust.
This commit is contained in:
@ -180,4 +180,6 @@
|
||||
<string name="installed_applications">Installed applications</string>
|
||||
<string name="sort_filter">Sort & Filter</string>
|
||||
<string name="new_applications">New applications</string>
|
||||
<string name="sync_auto_install">Update apps after sync</string>
|
||||
<string name="sync_auto_install_summary">Automatically install app updates after syncing repositories</string>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user