mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-06 16:49:11 +00:00
Created downloadRelease (markdown)
@@ -0,0 +1,22 @@
|
|||||||
|
The Function `downloadRelease` contains 4 Parameters, but it can have 5, if you like to include `prereleases` as well.
|
||||||
|
|
||||||
|
`repo` -> The Repository from which to download.
|
||||||
|
|
||||||
|
`file` -> The Name of the File.
|
||||||
|
|
||||||
|
`output` -> Where should the File be placed?
|
||||||
|
|
||||||
|
*optional* `prerelease` -> `true / false`!
|
||||||
|
|
||||||
|
`message` -> The Message which should be displayed while downloading.
|
||||||
|
|
||||||
|
You can find an example here:
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"type": "downloadRelease",
|
||||||
|
"repo": "Universal-Team/Universal-Updater",
|
||||||
|
"file": "Universal-Updater.cia",
|
||||||
|
"output": "sdmc:/Universal-Updater.cia",
|
||||||
|
"prereleases": false,
|
||||||
|
"message": "Downloading Universal-Updater.cia"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user