5
downloadRelease
Dark98 edited this page 2022-08-15 05:06:36 +01:00

The downloadRelease function has 4 parameters, and 1 optional one. It downloads a file from a GitHub repository's releases.

repo -> The Repository from which to download.

file -> The Name of the File.

output -> Where should the File be placed?

optional includePrereleases -> true / false, defaults to false.

message -> The Message which should be displayed while downloading.

Example:

{
    "type": "downloadRelease",
    "repo": "DarkStore-3DS/DarkStore",
    "file": "DarkStore.cia",
    "output": "sdmc:/DarkStore.cia",
    "includePrereleases": false,
    "message": "Downloading DarkStore.cia"
}