Updating README.md

This commit is contained in:
Alex Yatskov 2017-02-19 15:05:17 -08:00
parent 4dac6596cc
commit 9fcef4d077

View File

@ -91,7 +91,7 @@ The following actions are currently supported:
**Sample response**: **Sample response**:
``` ```
1 2
``` ```
* `deckNames` * `deckNames`
@ -279,6 +279,25 @@ The following actions are currently supported:
] ]
``` ```
* `upgrade`
Displays a confirmation dialog box in Anki asking the user if they wish to upgrade AnkiConnect to the latest version
from the project's [master branch](https://raw.githubusercontent.com/FooSoft/anki-connect/master/AnkiConnect.py) on
GitHub. Returns a boolean value indicating if the plugin was upgraded or not.
**Sample request**:
```
{
action: 'upgrade',
params: {}
}
```
**Sample response**:
```
true
```
## License ## ## License ##
GPL GPL