From 5fe3afd97d6e33b22651410993121fe84ebb6cc7 Mon Sep 17 00:00:00 2001 From: Pk11 Date: Sat, 2 Nov 2019 20:32:19 -0500 Subject: [PATCH] Created Example (markdown) --- Example.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Example.md diff --git a/Example.md b/Example.md new file mode 100644 index 0000000..b976c6e --- /dev/null +++ b/Example.md @@ -0,0 +1,34 @@ +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", + "description": "An example script file", + "longDescription": "This is an optional extended description\nto be shown after selecting the file.", + "version": "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" + } + ] +} +``` \ No newline at end of file