HuxyUK/simple-software-installer

Web Payload

Opened this issue · 0 comments

Currently the app stores all data locally in a data folder. The app store should be restructured to "pull" the latest supported apps as YAML payloads from a central repository. A simple approach might be to have a single catalog.yaml that is retrieved from the internet. This will list all the other apps.yaml files to download and parse. To deal with loss of internet connectivity, the app store should cache the latest downloaded apps.

  1. App Store launches and retrieves catalog.yaml
  2. App Store iterates through catalog.yaml and retrieves individual app.yaml, which contain metadata and encoded images
  3. Downloaded yaml data is scraped and stored internally in the "DB" layer of the app
  4. Repeat 2, until all apps scraped.
  5. Dump the DB to a cached file on the local FS.
  6. App Store is ready to go.