mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-06 16:49:11 +00:00
Destroyed Script example (markdown)
@@ -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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
```
|
|
||||||
Reference in New Issue
Block a user