diff --git a/Sources/NXVenom/switch/.packages/Software Installer/Help/sphaira.txt b/Sources/NXVenom/switch/.packages/Software Installer/Help/sphaira.txt new file mode 100644 index 00000000..0264c33f --- /dev/null +++ b/Sources/NXVenom/switch/.packages/Software Installer/Help/sphaira.txt @@ -0,0 +1 @@ +Alternative homebrew menu for the switch diff --git a/Sources/NXVenom/switch/.packages/Software Installer/config.ini b/Sources/NXVenom/switch/.packages/Software Installer/config.ini index ab2b53a3..ece47896 100644 --- a/Sources/NXVenom/switch/.packages/Software Installer/config.ini +++ b/Sources/NXVenom/switch/.packages/Software Installer/config.ini @@ -16,6 +16,8 @@ [>BT Audio] +[>sphaira] + [>Picofly Firmware] [>nxmp] diff --git a/Sources/NXVenom/switch/.packages/Software Installer/sphaira/config.ini b/Sources/NXVenom/switch/.packages/Software Installer/sphaira/config.ini new file mode 100644 index 00000000..be4d430f --- /dev/null +++ b/Sources/NXVenom/switch/.packages/Software Installer/sphaira/config.ini @@ -0,0 +1,12 @@ +[Install / Update] +catch_errors +delete /config/uberhand/downloads/app-url.json +download https://api.github.com/repos/ITotalJustice/sphaira/releases?per_page=1&sort=created&order=desc /config/uberhand/downloads/app-url.json +json_data /config/uberhand/downloads/app-url.json +download {json_data(0,assets,0,browser_download_url)} /config/uberhand/downloads/{json_data(0,assets,0,name)} +unzip /config/uberhand/downloads/{json_data(0,assets,0,name)} /config/uberhand/downloads/app/ +move /config/uberhand/downloads/app/switch/ /switch/ +delete /config/uberhand/downloads + +[Uninstall] +delete /switch/sphaira