fortheusers / hb-appstore

Homebrew App Store - GUI for downloading/managing homebrew apps
https://hb-app.store
GNU General Public License v3.0
1.08k stars 64 forks source link

Hint files for uninstalled packages that might already be installed #20

Closed vgmoose closed 4 years ago

vgmoose commented 6 years ago

If a user already has a package installed (like they already have /hbmenu.nro on their switch, or /switch/someotherapp.nro), then it's possible to guess whether or not the package is installed based on the presence and contents of that file.

This could be done by populating the info.jsons for each package with a hint_file path and a hint_file_hash field. If the hint file exists, but doesn't match the known hash, then it can be presented as "update available"

This wouldn't catch every case, but should be more useful for the user than ignoring potentially installed packages altogether

vgmoose commented 5 years ago

such a change might likely involve changes in libget rather than hb-appstore itself

vgmoose commented 4 years ago

Migrated to gitlab's libget#1