Last active
October 7, 2020 15:37
-
-
Save sgnn7/d920cdfded1b933168a9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app store | |
| -> com.endlessm.AppManager.Install(appid) | |
| -> com.endlessm.AppManager.Update(appid, allow_deltas) | |
| app manager | |
| | build com.endlessm.AppManager.Transaction object | |
| <- transaction path | |
| app store | |
| | get com.endlessm.AppManager.Transaction properties | |
| | if (Transaction.IsDelta) | |
| | download file at BundleURI into BUNDLEDIR/appid.xdelta | |
| | else | |
| | download file at BundleURI into BUNDLEDIR/appid.bundle | |
| | download file at SignatureURI into BUNDLEDIR/appid.asc | |
| | store BundleHash into BUNDLEDIR/appid.sha256sum | |
| -> com.endlessm.AppManager.Transaction.CompleteTransaction(bundlepath) | |
| app manager | |
| | get files at bundlepath | |
| | execute scripts | |
| <- return boolean for success | |
| app store | |
| | if (update && Transaction.IsDelta && failure) | |
| | repeat process with allow_deltas = false | |
| | if (failure) | |
| | show error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment