mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-07 16:59:08 +00:00
Created Scripts (markdown)
+25
@@ -0,0 +1,25 @@
|
|||||||
|
After the info section, you can have as many individual scripts in your file as you want. These need a name and all of the functions you want to run in the script, you can find info on all the functions you can use in the `Functions` section of the sidebar.
|
||||||
|
|
||||||
|
Here is an example of a script that will download a file and then delete it
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"info": {
|
||||||
|
"title": "Download & Delete",
|
||||||
|
"description": "Download a file and then delete it",
|
||||||
|
"version": "1"
|
||||||
|
},
|
||||||
|
"Download & Delete": [
|
||||||
|
{
|
||||||
|
"type": "downloadFile",
|
||||||
|
"file": "https://github.com/Universal-Team/extras/raw/master/builds/LeafEdit/LeafEdit.3dsx",
|
||||||
|
"output": "sdmc:/LeafEdit.3dsx",
|
||||||
|
"message": "Downloading LeafEdit.3dsx"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "deleteFile",
|
||||||
|
"file": "sdmc:/LeafEdit.3dsx",
|
||||||
|
"message": "Deleting LeafEdit.3dsx"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user