Skip to content

Commit

Permalink
Fix En & PtBr DBI endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
CatcherITGF committed Oct 23, 2024
1 parent 4d3fd86 commit 3075b9a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 9 deletions.
34 changes: 25 additions & 9 deletions Sources/NXVenom/switch/.packages/Software Installer/DBI/config.ini
Original file line number Diff line number Diff line change
@@ -1,22 +1,38 @@
; [Install / Update - EN]
; catch_errors
; delete /config/uberhand/downloads
; download https://api.github.com/repos/rashevskyv/dbi/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/app/{json_data(0,assets,0,name)}
; download {json_data(0,assets,1,browser_download_url)} /config/uberhand/downloads/app/{json_data(0,assets,1,name)}
; move /config/uberhand/downloads/app/ /switch/DBI/
; delete /config/uberhand/downloads

[Install / Update - EN]
catch_errors
delete /config/uberhand/downloads
download https://api.github.com/repos/rashevskyv/dbi/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/app/{json_data(0,assets,0,name)}
download {json_data(0,assets,1,browser_download_url)} /config/uberhand/downloads/app/{json_data(0,assets,1,name)}
download https://github.com/CatcherITGF/NX-Venom/raw/main/Sources/Tools/Apps/DBI.en.zip /config/uberhand/downloads/
unzip /config/uberhand/downloads/DBI.en.zip /config/uberhand/downloads/app/
move /config/uberhand/downloads/app/ /switch/DBI/
delete /config/uberhand/downloads

; [Install / Update - PT-BR]
; catch_errors
; delete /config/uberhand/downloads
; download https://api.github.com/repos/rashevskyv/dbi/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/app/{json_data(0,assets,0,name)}
; download {json_data(0,assets,4,browser_download_url)} /config/uberhand/downloads/app/{json_data(0,assets,4,name)}
; move /config/uberhand/downloads/app/ /switch/DBI/
; move /switch/DBI/DBI_ptbr.nro /switch/DBI/DBI.nro
; delete /config/uberhand/downloads

[Install / Update - PT-BR]
catch_errors
delete /config/uberhand/downloads
download https://api.github.com/repos/rashevskyv/dbi/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/app/{json_data(0,assets,0,name)}
download {json_data(0,assets,4,browser_download_url)} /config/uberhand/downloads/app/{json_data(0,assets,4,name)}
download https://github.com/CatcherITGF/NX-Venom/raw/main/Sources/Tools/Apps/DBI.ptbr.zip /config/uberhand/downloads/
unzip /config/uberhand/downloads/DBI.ptbr.zip /config/uberhand/downloads/app/
move /config/uberhand/downloads/app/ /switch/DBI/
move /switch/DBI/DBI_ptbr.nro /switch/DBI/DBI.nro
delete /config/uberhand/downloads

; [Install / Update - RU]
Expand Down
Binary file added Sources/Tools/Apps/DBI.en.zip
Binary file not shown.
Binary file added Sources/Tools/Apps/DBI.ptbr.zip
Binary file not shown.

0 comments on commit 3075b9a

Please sign in to comment.