From 12874fe7673ded7991f6c091238f883656a2a186 Mon Sep 17 00:00:00 2001 From: Pk11 Date: Sun, 1 Nov 2020 15:29:56 -0600 Subject: [PATCH] Destroyed Scripts (markdown) --- Scripts.md | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 Scripts.md diff --git a/Scripts.md b/Scripts.md deleted file mode 100644 index 9aa3c95..0000000 --- a/Scripts.md +++ /dev/null @@ -1,19 +0,0 @@ -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. Functions are a `type` which tells Universal-Updater what to do, and all of the variables for that type. For info on functions see the pages under this in the sidebar. - -Here is an example of a script file that will download a file and then delete it -```json -"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" - } -] -``` -Note that scripts are json arrays and thus are a name followed by **square brackets** with the functions inside surrounded by **curly brackets** \ No newline at end of file