Keep in sync with SimGear Package API
This commit is contained in:
parent
43bcc85919
commit
5f0e347c60
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ static string PackageRootCommand( simgear::pkg::Root* packageRoot, const string
|
|||
|
||||
} else if( command == "version" ) {
|
||||
|
||||
cJSON_AddItemToObject(json, "version", cJSON_CreateString( packageRoot->catalogVersion().c_str() ));
|
||||
cJSON_AddItemToObject(json, "version", cJSON_CreateString( packageRoot->applicationVersion().c_str() ));
|
||||
|
||||
} else if( command == "refresh" ) {
|
||||
packageRoot->refresh(true);
|
||||
|
|
Loading…
Add table
Reference in a new issue