Load a script
capibaraZero, from version 0.5.2, supports loading scripts from SD called AppsJS. They act as applications that brings new features to capibaraZero.
For who want to write JS script for capibaraZero, AppsJS implements this API that works as a layer between capibaraZero's native code and JS runtime.
Load a scripts from SD
To load a scripts from SD card you must follow this steps:
- Create a folder named scripts/ in the root of your SD card
- Place inside that folder the scripts that you wanna execute
- Go in the JS section of capibaraZero
- Click on the script that you want to run