Updated Scripts (markdown)

Pk11
2019-11-02 20:34:15 -05:00
parent 5fe3afd97d
commit f1860b0434
+3 -9
@@ -2,13 +2,7 @@ After the info section, you can have as many individual scripts in your file as
Here is an example of a script file that will download a file and then delete it Here is an example of a script file that will download a file and then delete it
```json ```json
{ "Download & Delete": [
"info": {
"title": "Download & Delete",
"description": "Download a file and then delete it",
"version": "1"
},
"Download & Delete": [
{ {
"type": "downloadFile", "type": "downloadFile",
"file": "https://github.com/Universal-Team/extras/raw/master/builds/LeafEdit/LeafEdit.3dsx", "file": "https://github.com/Universal-Team/extras/raw/master/builds/LeafEdit/LeafEdit.3dsx",
@@ -20,6 +14,6 @@ Here is an example of a script file that will download a file and then delete it
"file": "sdmc:/LeafEdit.3dsx", "file": "sdmc:/LeafEdit.3dsx",
"message": "Deleting LeafEdit.3dsx" "message": "Deleting LeafEdit.3dsx"
} }
] ]
}
``` ```
Note that scripts are json arrays and thus are a name followed by **square brackets** with the functions inside surrounded by **curly brackets**