Created Example (markdown)

Pk11
2019-11-02 20:32:19 -05:00
parent 5c1fd9463e
commit 5fe3afd97d
+34
@@ -0,0 +1,34 @@
The following is an example that features 2 scripts, one for downloading, installing, and deleting a cia file and another for downloading a 3dsx file.
```json
{
"info": {
"title": "Example",
"description": "An example script file",
"longDescription": "This is an optional extended description\nto be shown after selecting the file.",
"version": "1"
},
"Install cia": [
{
"type": "downloadFile",
"file": "https://github.com/Universal-Team/extras/raw/master/builds/LeafEdit/LeafEdit.cia",
"output": "sdmc:/LeafEdit.cia",
"message": "Downloading LeafEdit.cia"
},
{
"type": "installCia",
"file": "sdmc:/LeafEdit.cia"
},
{
"type": "rmfile",
"file": "sdmc:/LeafEdit.cia"
}
],
"Install 3dsx": [
{
"type": "downloadFile",
"file": "https://github.com/Universal-Team/extras/raw/master/builds/LeafEdit/LeafEdit.3dsx",
"output": "sdmc:/3ds/LeafEdit.3dsx"
}
]
}
```