add debugging tips to README
This commit is contained in:
@@ -393,6 +393,14 @@ In order for AIO Launcher to correctly display information about the script in t
|
|||||||
-- version = "1.0"
|
-- version = "1.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Debugging
|
||||||
|
|
||||||
|
Some tips on writing and debugging scripts:
|
||||||
|
|
||||||
|
* The most convenient way to upload scripts to your smartphone is to use the `install-scripts.sh` script from this repository. This is a sh script for UNIX systems which loads all the scripts from the repository onto the (virtual) memory card of the smartphone using ADB. You can edit it to your liking.
|
||||||
|
* The easiest way to reload an updated widget script is to swipe the widget to the right and then press the "reload" button. The search scripts will be reloaded automatically next time you open the search window.
|
||||||
|
* Since version 4.3.0 AIO Launcher supports widget scripts hot reloading. To enable it, go to AIO Settings -> About and click on the version number 7 times. Then open AIO Settings -> Testing and enable the option "Hot reload scripts on resume". Now when you change the script, it will be automatically reloaded when you return to the desktop.
|
||||||
|
|
||||||
# Backward compatibiliy
|
# Backward compatibiliy
|
||||||
|
|
||||||
AIO Launcher mantains backward compatibility with existing APIs. But if you want to use API functions which appeared later than 4.0.0 you'd better use a special meta tag which will hide your script on all previous versions of the application.
|
AIO Launcher mantains backward compatibility with existing APIs. But if you want to use API functions which appeared later than 4.0.0 you'd better use a special meta tag which will hide your script on all previous versions of the application.
|
||||||
|
|||||||
Reference in New Issue
Block a user