Destroyed Script example (markdown)

Pk11
2020-11-01 15:33:03 -06:00
parent 21010201fb
commit 17751c2cbe
-42
@@ -1,42 +0,0 @@
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",
"shortDesc": "An example script file",
"description": "This is an optional extended description\nto be shown after selecting the file.",
"barColor": "#dc3c00",
"bgBottomColor": "#dca000",
"bgTopColor": "#dca000",
"textColor": "#ffffff",
"selectedColor": "#fa3c00",
"unselectedColor": "#b43c00",
"progressbarColor": "#fa3c00",
"version": 3,
"revision": 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"
}
]
}
```