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