Finished "Refresh LiveArea" function rework, added patches support #515
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Considered it as one of the missing core features of "Refresh Livearea" function, there is little explanation:
Till now only solution to match livearea appmeta (in that case mostly app_ver) with installed
ux0:patch
files was to either edit manually app_ver in app.db or to perform rebuild database. Both of these solutions were, in my opinion, unnecessary tasks to perform by the user.Now "Refresh Livearea" takes care about Patches too and if appmeta app_ver does not match patch app_ver, it will perform Patch promotion on it.
This new patch support will be great for people who prefer to download latest updates through PC in mere minutes rather than wait hours till vita downloads it. [PSO2 updates for example, or any other 1gb updates]
edit: huge thanks to @dots-tb for giving me tips when I had troubles understanding how some basic stuff works in C :)