Update samples/Cpp/AssetsManagerTest/README.md

This commit is contained in:
minggo 2013-02-22 17:26:21 +08:00
parent 32fbced31f
commit 2d225437e5
1 changed files with 10 additions and 4 deletions

View File

@ -2,19 +2,24 @@ This sample shows how to use AssetsManager to auto-update application resources(
In this sample, there is a scene which contains three items:
* enter
Start to run script.
Start to run script.
* reset
Delete downloaded resources and delete recorded version code.
Delete downloaded resources and delete recorded version code.
* update
Download new version of package if it exits.
Download new version of package if it exits.
You can use this sample like this:
* Run original version application(refered as v1)
```
start application
click "enter"
```
* Run new version application(v2)
```
start application
click "update"
@ -22,10 +27,11 @@ click "enter"
```
You will find the changes.
* Run v1 again after running v2
```
start application
click "reset"
click "enter"
```
The application turns back to v1. Ofcourse you can run v2 again as mentioned abave.