fortheusers / hb-appstore

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

Custom Source #45

Closed EmptyAirSwap closed 4 years ago

EmptyAirSwap commented 5 years ago

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like Please add the possibility to add custom source (like GDrive, DropBox, etc). Example: I add a .nro file on GDrive, I add the GDrive link on HB AppStore and it easily install the nro

Platform: Nintendo Switch - WiiU

vgmoose commented 4 years ago

Probably an app like nXDownload fits this use case, and then NX-Shell to move the files into the right spot.

Custom sources/repos can be specified in ./repos.json, but they will have to be generated in a proper libget repo format for app store to parse. This can be done using Spinarak, but would have to be done in advance + hosted.

The reason for it not being as straightforward as it seems, is the rules for where an NRO should go depend on the app and where they expect to be placed. (Sometimes they are in a folder, sometimes a specific folder, sometimes right in sd:/switch), so as a result, the other information in the repo (which spinarak takes as input) is needed to properly put NROs in the right spot.